| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| void main()
{
int i=5;
printf("%d",i+++++i);
}
| ME | 12 |
| What is the diffences between Windows XP and Windows Visa
| Aricent | 1 |
| define function | Assurgent | 4 |
| writw a program to insert an element in the begning of a
doubly linked list | | 1 |
| what is array? | | 6 |
| write the function int countchtr(char string[],int
ch);which returns the number of timesthe character ch
appears in the string. for example the call countchtr("she
lives in Newyork",'e') would return 3. | | 4 |
| Total of how many functions are available in c? | | 2 |
| How to swap two values using a single variable ?
condition: Not to use Array and Pointer ? | | 4 |
| What are Storage Classes in C ? | HP | 14 |
| what is array? | HCL | 22 |
| Determine the code below, tell me exactly how many times is
the operation sum++ performed ?
for ( i = 0; i < 100; i++ )
for ( j = 100; j > 100 - i; j--)
sum++; | ITCO | 3 |
| Tell us the difference between these two :
#include"stdio.h"
#include<stdio.h>
define in detial. | | 4 |
| where does malloc() function get the memory? | | 1 |
| What's wrong with "char *p = malloc(10);" ? | | 4 |
| What is the difference between typeof(foo) and myFoo.GetType()? | | 1 |
| what is the use of getch() function in C program..
difference b/w getch() and getche()?? | Wipro | 12 |
| difference between semaphores and mutex? | | 1 |
| How would you print out the data in a binary tree, level by
level, starting at the top? | Microsoft | 4 |
| What is difference between the following 2 lines….
int temp = (int)(0x00);
int temp = (0x00int);
| Bosch | 3 |
| Write code for finding depth of tree | Adobe | 1 |
| |
| For more C Interview Questions Click Here |