C Interview Questions
Questions Answers Views Company eMail

What are the different pointer models in c?

4 5175

What is sparse file?

1 4168

How to set a variable in the environment list?

1 4210

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

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

31 95467

What is the Difference between Class and Struct?

Motorola,

10 10910

What is the Difference between Macro and ordinary definition?

Bosch, Cognizant, College School Exams Tests, Motorola,

3 24688

what are brk, sbrk?

Oracle,

1 7050

Why the use of alloca() is discouraged?

Oracle,

2 7342

Will Macros support multiple arguments ?

Oracle,

7 9779

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

Oracle,

3 5350

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

Oracle,

4 7751

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

Accel Frontline, Opera, Oracle,

16 27735

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

6 18521

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, Wipro,

5 7937

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

TCS,

4 11151


Post New C Questions

Un-Answered Questions { C }

Explain how do you print only part of a string?

640


Write a program to reverse a given number in c language?

606


Why are algorithms important in c program?

610


What is the difference between constant pointer and constant variable?

737


How can I swap two values without using a temporary?

602






What is function definition in c?

572


What is the scope of static variables in c language?

620


Why we use break in c?

536


What is c programming structure?

611


C language questions for civil engineering

1232


What is the advantage of c?

603


What are operators in c?

571


Define and explain about ! Operator?

605


Write a program to generate random numbers in c?

649


Is linux written in c?

590