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
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What is calloc malloc realloc in c?
Is it fine to write void main () or main () in c?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is the use of the function in c?
What’s a signal? Explain what do I use signals for?
Write a factorial program using C.
Why double pointer is used in c?
What is static memory allocation? Explain
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
what are bit fields in c?
Write a program to implement queue.
Why enum is used in c?
What is the condition that is applied with ?: Operator?
What is 2 d array in c?