What are the differences between Structures and Arrays?
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
write a program to rearrange the array such way that all even elements should come first and next come odd
What is the difference between constant pointer and pointer to a constant. Give examples.
write a prgram of swapping with 2 valiables
Input is "Jack and jill went up a hill" To print output is 1-letter word(s)-1 2-letter words-1 3-letter words-1 4-letter words-4
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What do you mean by recursion in c?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What are data breakpoints?
Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?
difference between ordinary variable and pointer in C?
how to print 2-D array using a single for loop?
2 Answers Mind Tree, TCS, Value Labs,