main()
{char a[10]={1,2,3,4,5,6};int x;
for(x=0;x<4;x++){ b[x]=x+'a';}
printf("%s",b);}
Answer Posted / lucky
it gives compilation error bcoz b is not defined
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is clrscr ()?
What is a sequential access file?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is table lookup in c?
What is const volatile variable in c?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
What is a macro, and explain how do you use it?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
Why doesnt long int work?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What happens if you free a pointer twice?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is pointer to pointer in c language?
What is the difference between c and python?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10