C Interview Questions
Questions Answers Views Company eMail

What are Storage Classes in C ?

CTS, HP, IBM, Maharaja Whiteline, Tamil Nadu Open University TNOU, TATA, TCS, Wipro,

32 115118

How the processor registers can be used in C ?

HP,

7 15823

What is an volatile variable?

HP,

15 34429

How to access or modify the const variable in c ?

HCL, HP,

16 36034

What is structure padding ?

HP,

3 30219

What is structure packing ?

HP,

2 13552

How to implement call back functions ?

HP,

3 9777

What is an anonymous union and where to apply that ?

HP,

3 9735

How to implement variable argument functions ?

HP,

1 8270

What are advantages and disadvantages of recursive calling ?

College School Exams Tests, Evolving Systems, HP, Jyoti Ltd, Sage, Wipro,

12 97353

How the C program can be compiled?

HP,

11 19774

What are the preprocessors?

HP,

9 16161

what are the various memory handling mechanisms in C ?

HP,

4 11322

what is a function pointer and how all to declare ,define and implement it ???

Honeywell,

4 10797

Give a fast way to multiply a number by 7

Accenture, Aricent, Microsoft,

15 46845


Post New C Questions

Un-Answered Questions { C }

In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2647


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

565


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

1331


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1078


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2707






find the sum of two matrices and WAP for it.

599


Explain how do you override a defined macro?

550


What is string function in c?

507


What is the difference between array and pointer?

536


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1339


How can I read and write comma-delimited text?

590


What is an auto variable in c?

718


What is a char in c?

529


What are the 4 types of functions?

537


What is malloc and calloc?

544