C Interview Questions
Questions Answers Views Company eMail

What is ambagious result in C? explain with an example.

Infosys,

2025

Derive the complexity expression for AVL tree?

1 3437

what is difference between declaring the pointer as int and char in c language?

3 11971

wt is diference between int and int pointer as same as float and float pointer and char and char pointer

CTS, Infosys,

8 10679

write a c program to change only the 3rd bit of the particular number such that other bits are not affected.. if bitnum=10(say.. it can be any no..

Bosch, Mind Tree,

10 28200

What is key word in c language?

ABC,

4 8209

write the output of following code .. main() { static int a[]={10,20,30,40,50}; int *ptr=a; static int arr[2][2]={1,2,3,4}; char str[]="ABCD * 4#"; char *s=str+2; int i,j; for(i=0;i<5,i++) printf("%d",*ptr++); for(i=0;i<2;i++) for(j=0;j<2;j++) printf("%d\n",*(*(n+i)+j)); printf("%c\n%c\n%c\n",*(str+2),*s++,*--s); }

1 3525

what is c programing

Wipro,

11 11707

how to swap two nubers by using a function with pointers?

1 3264

Write a c program to Find the name that you entered is male name or female name? Such as Sunjay is name of male and Payal is name of female

Infosys, Luminous,

5 18359

swapping of two numbers without using third variable using AND and OR operators

2 6330

why integer range between -327680to+32767

2 8356

Write c-code for 5+55+555+5555+55555+555555+5555555. Output will be it's answer...

TCS,

4 22986

main() { int i=5; printf("%d%d%d%d",i++,i--,i); }

10 10337

main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }

3 3723


Post New C Questions

Un-Answered Questions { C }

What is a nested loop?

620


Explain the use of fflush() function?

597


How do we make a global variable accessible across files? Explain the extern keyword?

1395


I need a sort of an approximate strcmp routine?

634


What is the heap?

642






Difference between pass by reference and pass by value?

634


What is wrong with this program statement? void = 10;

782


What is spark map function?

563


What is an expression?

623


Compare and contrast compilers from interpreters.

653


Why c language is called c?

540


Explain how do you view the path?

623


What is meant by recursion?

604


Explain how can I convert a string to a number?

609


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1428