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
How do you use a 'Local Block'?
What is methods in c?
Explain what is the difference between null and nul?
Why should I prototype a function?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
What do you mean by scope of a variable in c?
what are the 10 different models of writing an addition program in C language?
What is stack in c?
What is a macro in c preprocessor?
What does == mean in texting?
What are multidimensional arrays?
What is n in c?
What are register variables in c?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402