C Interview Questions
Questions Answers Views Company eMail

i=20,k=0; for(j=1;j


8 10233

int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);

HCL, SW, Octal,

6 11784

f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error


4 3424

which of the function operator cannot be over loaded a) <= b)?: c)== d)*

Cisco, HCL, CTS, Google, HP,

10 20765

long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

TCS, Intel, HCL, Acropolis,

18 26786

x=2,y=6,z=6 x=y==z; printf(%d",x)

TCS, Cisco, HCL, Bharat,

13 20818

int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?


14 14982

proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?


7 4762

int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]


6 7037

In scanf h is used for


4 7891

what does " calloc" do?

Cadence, Logos,

7 7296

what does exit() do?


3 6258

what is the value of 'i'? i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")

Cadence, Zen Technologies, JNTU,

7 7301

prototype of sine function.


2 5030

#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}

3 9563

Post New C Questions

Un-Answered Questions { C }

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


find out largest elemant of diagonalmatrix


Can you write the algorithm for Queue?


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.


please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent


#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }


what are the 10 different models of writing an addition program in C language?


shorting algorithmS


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.


how could explain about job profile


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?


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


cavium networks written test pattern ..