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 |
marge linklist
the question is that what you have been doing all these periods (one year gap)
What is assert and when would I use it?
WHAT IS HEADER?
List some of the static data structures in C?
Write a c program to print the sizes and ranges of different data types in c?
Why header file is used in c?
What are bit fields? What is their use?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
18 Answers Acropolis, HCL, Intel, TCS,
In a switch statement, what will happen if a break statement is omitted?
what does data structure mean?