| Other C Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| 4)What would be the output?
main()
{
int num=425;
pf("%d",pf("%d",num));
}
a)Comp error
b)4425
c)4253
d)3435
e)none
|
| 10 |
| read an array and search an element |
| 1 |
| What are .h files and what should I put in them? |
| 3 |
| What is the mean of this statement::
if(int i=0 * i=9) |
HCL | 2 |
| how many error occurs in C language ? |
Wipro | 21 |
| A function 'q' that accepts a pointer to a character as
argument and returns a pointer to an array of integer can
be declared as:
A)int (*q(char*)) []
B)int *q(char*) []
C)int(*q)(char*) []
D)None of the Above
|
Accenture | 2 |
| what is link list?
|
| 3 |
| Struct(s)
{
int a;
long b;
}
Union (u)
{int a;
long b;
}
Print sizeof(s)and sizeof(u) if sizeof(int)=4 and
sizeof(long)=4
|
Mascot | 2 |
| What are the preprocessors? |
HP | 6 |
| c programming of binary addition of two binary numbers
|
| 3 |
| main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf("%d",i);
} |
| 4 |
| what is the output of the following program?
#include<stdio.h>
void main()
{
float x=1.1;
while(x==1.1)
{
printf("\n%f",x);
x=x-0.1;
}
} |
| 4 |
| |
| For more C Interview Questions Click Here |