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

1152

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

4446

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

4 4185




Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer

1753

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

1207

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 8064

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 8930

do you think its fraud or original company?

796




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

3 11343

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

Infosys,

7 7232

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

TCS,

4 8753

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 4044

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 5318

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

4 3340

What should not contain a header file?

2 2405


Post New C Questions






Un-Answered Questions { C }

Write a Program to accept different goods with the number, price and date of purchase and display them

3431


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

1250


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)

4394


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

1714


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

535






A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

909


Write a C program to count the number of email on text

752


p*=(++q)++*--p when p=q=1 while(q<=6)

489


Difference between Shallow copy and Deep copy?

832


why return type of main is not necessary in linux

937


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

10356


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

456


write an algorithm to display a square matrix.

1364


int i=10; printf("%d %d %d", i, i=20, i);

196


how can use subset in c program and give more example

754