| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| void main()
{
int i=5;
printf("%d",i+++++i);
}
| ME | 12 |
| write a code for large nos multilication (upto 200 digits) | Persistent | 1 |
| Write a programme to find even numbers without using any
conditional statement? | Infosys | 3 |
| how many header file is in C language ? | | 13 |
| Give me basis knowledge of c , c++... | | 4 |
| What are the preprocessors? | HP | 5 |
| IS STRUCTURES CAN BE USED WITHIN AN ARRAY? | Caritor | 7 |
| hello friends
what do u mean by BUS ERROR
i got this error while i am doing my program in DATA STRUCTURES | Wipro | 2 |
| totally how much header files r in c language | TCS | 4 |
| What is difference between the following 2 lines….
int temp = (int)(0x00);
int temp = (0x00int);
| Bosch | 3 |
| What is the memory allocated by the following definition ?
int (*x)[10];
| ADITI | 3 |
| for example user gives input as " 20 or 20.0 or rs 20.0 or
20.00 or rs20 and so .. on " and the output should be
stored as " rs.20.00 " in a variable | | 2 |
| main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
| CitiGroup | 7 |
| #define DCHAR char*
typedef char* TCHAR;
if using these following variables will be declared like
DCHAR ch1, ch2;
TCHAR ch3, ch4;
then what will be types of ch1, ch2, ch3 and ch4?
| NDS | 1 |
| HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I
NEED AN ANSWER THAT IMPRESS THE INTERVIEWER | | 2 |
| Can you think of a way when a program crashed before
reaching main? If yes how? | | 2 |
| Write code for initializing one dimentional and two
dimentional array in a C Program? | Deshaw | 5 |
| int *p=20;
if u print like dis printf("%d",p);
o\p:- 20; how is it possible?
plz give me the explanation. | Global-Edge | 11 |
| #define min((a),(b)) ((a)<(b))?(a):(b)
main()
{
int i=0,a[20],*ptr;
ptr=a;
while(min(ptr++,&a[9])<&a[8]) i=i+1;
printf("i=%d\n",i);}
| | 3 |
| DIFFERNCE BETWEEN THE C++ AND C LANGUAGE? | Wipro | 1 |
| |
| For more C Interview Questions Click Here |