C Interview Questions
Questions Answers Views Company eMail

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

Accenture,

1588

What is the output of below code? main() { static in a=5; printf("%3d",a--); if(a) main(); }

Infosys, TCS,

4 6558

What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }

1 3698

main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }

6 9991

write a c program to add two integer numbers without using arithmetic operator +

Value Labs,

13 19667

is c language is a object oreinted language?

TCS,

5 5823

wat is the meaning of c?

CTS, IBM, Wipro,

9 8967

define switch statement?

CTS,

6 7158

The variables are int sum=10,SuM=20; these are same or different?

3 4534

what is the output of below code int x=8,y; x>>=2; y=x; what is y value. NOTE:EXPLANATION IS COMPALSARY with binary bits

Wipro,

2 4879

write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

TCS,

1 3330

shorting algorithmS

Wipro,

1889

WHAT IS ABSTRACT DATA TYPE

Wipro,

4 5784

FILE PROGRAMMING

Wipro,

1868

SRUCTURE PROGRAMMING

CTS, Wipro,

3 5925


Post New C Questions

Un-Answered Questions { C }

Why main is not a keyword in c?

739


What is the mean of function?

752


How do you search data in a data file using random access method?

964


Explain how can I open a file so that other programs can update it at the same time?

701


How pointers are declared?

639






If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3357


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.

15198


What are local static variables?

718


What is call by reference in functions?

730


What are the primitive data types in c?

643


What is C language ?

1624


code for quick sort?

1708


What is difference between union All statement and Union?

732


Explain how do I determine whether a character is numeric, alphabetic, and so on?

754


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

745