C Interview Questions
Questions Answers Views Company eMail

Determine the result of performing two successive block transfers into the same area of a frame buffer using the binary arith operations


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon


dennis ritchie invented C language in AT&T bell laboratory what is the extension of AT&T?

4 4084

Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer


i need all types of question paper releted to "c" and other language.


what is the output of the following program? #include void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }

6 7366

what is the output of the following program? #include void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }

14 8635

do you think its fraud or original company?


what is the output of the following code? main() { int I; I=0x10+010+10; printf("x=%x",I); } give detailed reason

3 10800

Can we include one C program into another C program if yes how?


7 7006

What is the difference between constant pointer and pointer to a constant. Give examples.


4 8560

what is the output of the following program? main() { int c[]={2,8,3,4,4,6,7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf("%d",*c); ++q; } for(j=0;j<5;j++) { printf("%d",*p); ++p; } }

4 3865

what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

7 5139

In the following control structure which is faster? 1.Switch 2.If-else and which consumes more memory?

4 3224

What should not contain a header file?

2 2313

Post New C Questions

Un-Answered Questions { C }

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


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10


what will be the output for the following main() { printf("hi" "hello"); }


how can use subset in c program and give more example


All technical questions


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.


how to execute a program using if else condition and the output should enter number and the number is odd only...


Write a c program to demonstrate character and string constants?


write a program to find out prime number using sieve case?


Hi can anyone tell what is a start up code?


What is the difference between test design and test case design?


a program that can input number of records and can view it again the record


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(); }


Can you write the algorithm for Queue?


what is a function method?give example?