Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  12.c
Language: C/C++
Code:
#include <stdio.h>

int main()
{
    
   char a[10];
   scanf("%s",a);
   printf("given string %s",a);
   int l=0;
   while(a[l]!='\0')
   l++;
   printf ("lenth %d\n",l);

    return 0;
}     
Comments: