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);}
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
1 st prob.. this will be an error since b[] have not been
declared.......
if you are nt bothered about the syntax obligations....
then the output will be:
abcd
| Is This Answer Correct ? | 5 Yes | 0 No |
Linked lists -- can you tell me how to check whether a linked list is circular?
What are identifiers in c?
Can u return two values using return keyword? If yes, how? If no, why?
What do you understand by friend-functions? How are they used?
What is the difference between malloc() and realloc()?
What are the application of void data type in c?
C,c++, Java is all are structural oriented or procedure oriented language..?
Can you think of a way when a program crashed before reaching main? If yes how?
pierrot's divisor program using c or c++ code
What is #include in c?
void main() { int i=5; printf("%d",i++ + ++i); }
Do character constants represent numerical values?