C Interview Questions
Questions Answers Views Company eMail

What are the different pointer models in c?

4 3388

What is sparse file?

1 2938

How to set a variable in the environment list?

1 3217




How to reverse a string using a recursive function, without swapping or using an extra memory?

Wipro, TCS, Sony, Cisco, Motorola, Mind Tree, Ophio,

31 83638

What is the Difference between Class and Struct?

Motorola,

10 7425

What is the Difference between Macro and ordinary definition?

Motorola, Cognizant, Bosch, College School Exams Tests,

3 15841

what are brk, sbrk?

Oracle,

1 5832

Why the use of alloca() is discouraged?

Oracle,

2 5863




Will Macros support multiple arguments ?

Oracle,

7 7038

what about "char *(*(*a[])())();"

Oracle,

3 3492

Go through the following code sinippet char a[20]; a="Hello Orcale Test"; will this compile?

Oracle,

4 5480

#include #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?

Oracle, Accel Frontline, Opera,

16 18416

1 232 34543 4567654 can anyone tell me how to slove this c question

6 13779

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++;

Wipro, ITCO,

5 5552

int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?

TCS,

4 8787


Post New C Questions






Un-Answered Questions { C }

How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

3974


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

777


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

818


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

1460


hi, which software companys will take,if d candidate's % is jst 55%?

913






all c language question

1084


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

3178


C program to find all possible outcomes of a dice?

1222


program to convert a integer to string in c language'

1224


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

853


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

920


what is the height of tree if leaf node is at level 3. please explain

909


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1163


find out largest elemant of diagonalmatrix

899


what is the different bitween abap and abap-hr?

1062