C Interview Questions
Questions Answers Views Company eMail

What are the different pointer models in c?

4 3097

What is sparse file?

1 2722

How to set a variable in the environment list?

1 3005

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 81750

What is the Difference between Class and Struct?


10 7014

What is the Difference between Macro and ordinary definition?

Motorola, Cognizant, Bosch, College School Exams Tests,

3 14075

what are brk, sbrk?


1 5448

Why the use of alloca() is discouraged?


2 5582

Will Macros support multiple arguments ?


7 6635

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


3 3177

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


4 4990

#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 16379

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

6 11699

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 5078

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


4 8121

Post New C Questions

Un-Answered Questions { C }

what is stack , heap ,code segment,and data segment


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.


write a c program for swapping two strings using pointer


4. main() { int c=- -2; printf("c=%d",c); }


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples


a c code by using memory allocation for add ,multiply of sprase matrixes


how to write optimum code to divide a 50 digit number with a 25 digit number??


can we have joblib in a proc ?


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.


can we change the default calling convention in c if yes than how.........?


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }


what is the syallabus of computer science students in group- 1?


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit