| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| why java is called as a purely oops language. | | 2 |
| could u able to tell about suresoft technical session | | 1 |
| main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
what is the output? | Ramco | 4 |
| What are bit fields? What is their use? | Adobe | 1 |
| What is an anonymous union and where to apply that ? | HP | 3 |
| what does data structure mean? | | 7 |
| wap in c to accept n number display the highest and lowest
value | | 2 |
| regarding the scope of the varibles;identify the incorrect
statement:
a.automatic variables are automatically initialised to 0
b.static variables are are automatically initialised to 0
c.the address of a register variable is not accessiable
d.static variables cannot be initialised with any expression
| TCS | 1 |
| How can I call a function, given its name as a string? | ABC-Telecom | 2 |
| How would you find a cycle in a linked list?
| | 2 |
| 1. Write the function int countchtr(char string[ ], int ch);
which returns the number of times the character ch appears
in the string.
Example, the call countchtr(“She lives in NEWYORK”, ‘e’)
would return 3.
| | 2 |
| Function to find the given number is a power of 2 or not? | Motorola | 12 |
| WAP to accept rollno,course name & marks of a student &
display grade if total marks is above 200? | | 2 |
| How can I read a directory in a C program? | Wipro | 1 |
| what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
} | Infosys | 15 |
| Write a function that accepts two numbers,say a and b and
makes bth bit of a to 0.No other bits of a should get
changed. | Scientific-Atlanta | 2 |
| How can I get Single byte from 'int' type variable? Can we
alter single bit or multiple bits in int type variable? if so,
How? | | 2 |
| what's the return value of malloc() | | 8 |
| WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR
LOOPS.
A) * B) *****
*** * *
***** * *
***** | | 2 |
| how to find out the inorder successor of a node in a tree?? | TCS | 2 |
| |
| For more C Interview Questions Click Here |