what are the interview question's in the language c
Answers were Sorted based on User's Feedback
Interview questions in C would be :
- what are pointers?
- what do the .h files mean?
my fav ques - which i will always ask is :
** what is the differance between a[0] and *a.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / mallik
a[0] represents only that value at 0 location,but *a
represents the address of that variable stored
| Is This Answer Correct ? | 0 Yes | 0 No |
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What is encapsulation?
Write a program to interchange two variables without using the third variable?
17 Answers Accenture, College School Exams Tests, Infotech,
write a program to print largest number of each row of a 2D array
What is the output of printf("%d", printf("Hello"));?
How can you increase the size of a statically allocated array?
Write a program to find given number is even or odd without using any control statement.
What are the different data types in C?
How to write a multi-statement macro?
program in c to print 1 to 100 without using loop
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Please list all the unary and binary operators in C.