| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output? | Ramco | 6 |
| what is the use of a array in c | | 4 |
| Study the code:
void show()
main()
{
show();
}
void show (char *s)
{
printf("%sn",s);
}
What will happen if it is compiled & run on an ANSI C
Compiler?
A)It will compile & nothing will be printed when it is
executed
B)it will compile but not link
C)the compiler will generate an error
D)the compiler will generate a warning
| Accenture | 4 |
| What is function pointer and where we will use it | NetApp | 1 |
| Toggle nth bit in a given integer - num | Qualcomm | 2 |
| why TCS selected more student in the software field from
all institution. | TCS | 3 |
| What compilation do? | Geometric-Software | 7 |
| Read N characters in to an array . Use functions to do all
problems and pass the address of array to function.
1. Print only the alphabets . If in upper case print in
lower case vice versa. | | 1 |
| how to estimate the disk access time?
e.g. the time between read one byte and another byte in the
disk. | Google | 3 |
| what is a function pointer and how all to declare ,define
and implement it ??? | Honeywell | 3 |
| compute the nth mumber in the fibonacci sequence? | TCS | 7 |
| what is the differnce between AF_INET and PF_INET? | Wipro | 2 |
| what is the difference between <stdio.h> and "stdio.h" | Kanbay | 5 |
| True or false: If you continuously increment a variable, it
will become negative?
1) True
2) False
3) It depends on the variable type
| | 5 |
| write a “Hello World” program in “c” without using a semicolon? | | 3 |
| write a program to check whether a given integer is a strong
number or not?
[Hint:
145=1!+4!+5!
=1+24+120
=145]
| | 4 |
| Write a program to compare two strings without using the
strcmp() function | Accenture | 14 |
| biggest of two no's with out using if condition statement | | 2 |
| write a c program to accept a given integer value and print
its value in words | | 3 |
| Binary tree traversing | Qualcomm | 1 |
| |
| For more C Interview Questions Click Here |