C Interview Questions
Questions Answers Views Company eMail

write a program for the normal snake games find in most of the mobiles.

Accenture, Wipro,

2028

Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

HCL, IBM, Satyam, Vimal, Vimukti Technologies,

2 6296

how to reverse string "Hello World" by using pointers only. Without any temp var

1 7266

What has to put when we are inserting as assembly language code into the C code? or When we are inserting as assembly language code into the C code we have to insert one thing at the start and of the assembly language. What are they?

2 3702

what is the return type of printf

3 5064

what is difference between ANSI structure and C99 Structure?

Wipro,

1 4383

struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?

Wipro,

1 6266

Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

1 3677

Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

Accenture, Gridco, IBM, Kevin IT, TCS, Vimukti Technologies,

7 11341

what is the difference b/w NULL and null?

HSBC, IBM,

3 6137

void main() { int a[]={1,2,3,4,5},i; for(i=0;i<5;i++) printf("%d",a++); getch(); }

3 7636

what is the meaning of java that is (J A V A) full form of JAVA

AKS University, Bhel, BNL, BPO, HCL, Peacecon,

71 255533

what type of questions arrive in interview over c programming?

1780

main() { int i; printf("%d", &i)+1; scanf("%d", i)-1; }

1 4439

In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 2806


Post New C Questions

Un-Answered Questions { C }

What are the disadvantages of a shell structure?

961


Why c is known as a mother language?

849


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1501


Why is event driven programming or procedural programming, better within specific scenario?

2177


Explain how can you restore a redirected standard stream?

795


Is printf a keyword?

977


What's a good way to check for "close enough" floating-point equality?

856


Why do we need volatile in c?

947


How can I make it pause before closing the program output window?

808


Subtract Two Number Without Using Subtraction Operator

595


what is reason of your company position's in india no. 1.

1983


How can you check to see whether a symbol is defined?

832


What is operator precedence?

900


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1935


What is identifier in c?

773