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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Was 2000 a leap year?

632


What are the advantage of c language?

554


List the difference between a While & Do While loops?

639


What are the types of type qualifiers in c?

650


What are pointers really good for, anyway?

617






Explain can the sizeof operator be used to tell the size of an array passed to a function?

597


Is linux written in c?

601


how should functions be apportioned among source files?

627


What are pointers in C? Give an example where to illustrate their significance.

751


If fflush wont work, what can I use to flush input?

617


Why ca not I do something like this?

587


What is the code for 3 questions and answer check in VisualBasic.Net?

1692


What is the use of c language in real life?

530


What does != Mean in c?

590


What are variables and it what way is it different from constants?

786