C Interview Questions
Questions Answers Views Company eMail

What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }

Amazon, Qualcomm,

5 15576

what is the definition of storage classes?

Wipro,

3 5512

write a program to compare 2 numbers without using logical operators?

IBM,

5 14173




what is self refrential structure

HCL,

3 4387

what is available in C language but not in C++?

CTS, TCS,

10 9206

What is volatile in c language?

HCL, TCS,

2 3536

wt is d full form of c

TCS, Wipro,

6 6058

what is the maximum limit of row and column of a matrix in c programming. in linux .

NIIT,

4 5020




write a c program to print the values in words eg:- 143 written it has (one hundred and forty three)& 104, 114 are also written words

Wipro, IBM, DELL, Google, Captronic, RCC, Mithi,

5 10814

who is first prime minister in india??

Wipro,

8 4566

how to find the largest element of array without using relational operater?

Satyam, Wipro,

6 8916

WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include #include void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }

25 10522

What are the different flags in C? And how they are useful? And give example for each in different consequences?

1 2211

What is Lazy evaluation in C? Give an example.

1 2856

What is indirect recursion? give an example?

4 25639


Post New C Questions






Un-Answered Questions { C }

difference between object file and executable file

4418


how we can make 3d venturing graphics on outer interface

2906


given post order,in order construct the corresponding binary tree

1686


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

798


Can you think of a logic behind the game minesweeper.

1072






how do you programme Carrier Sense Multiple Access

880


why we wont use '&' sing in aceesing the string using scanf

1108


`write a program to display the recomended action depends on a color of trafic light using nested if statments

945


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

793


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1124


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

795


write a program to find the given number is prime or not

2451


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3109


what are non standard function in c

721


Difference between Shallow copy and Deep copy?

901