which type of question asked from c / c++ in interview.
Answers were Sorted based on User's Feedback
Answer / abhradeep chatterjee
conceptual questions which proves that the basic idea of
the candidate is clear.
| Is This Answer Correct ? | 12 Yes | 2 No |
what is the output for the code : main() { int i,j; printf("%d %d ",scanf("%d%d",&i,&j)); }
What is the difference between union and anonymous union?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is the difference between void main and main in c?
Explain the process of converting a Tree into a Binary Tree.
What is wrong with this program statement? void = 10;
what is void pointer?
How do shell structures work?
I heard that you have to include stdio.h before calling printf. Why?
Explain the difference between malloc() and calloc() in c?
what is the code for getting the output as * ** ***
What does the file stdio.h contain?