C Interview Questions
Questions Answers Views Company eMail

What are Storage Classes in C ?

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

32 77951

How the processor registers can be used in C ?

HP,

6 6202

What is an volatile variable?

HP,

15 20757

How to access or modify the const variable in c ?

HP,

15 18297

What is structure padding ?

HP,

3 19255

What is structure packing ?

HP,

2 8086

How to implement call back functions ?

HP,

3 4320

What is an anonymous union and where to apply that ?

HP,

3 4698

How to implement variable argument functions ?

HP,

1 4548

What are advantages and disadvantages of recursive calling ?

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

12 73164

How the C program can be compiled?

HP,

10 7140

What are the preprocessors?

HP,

8 6490

what are the various memory handling mechanisms in C ?

HP,

4 5669

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

Honeywell,

4 5442

Give a fast way to multiply a number by 7

Microsoft, Aricent,

15 30425


Post New C Questions


Un-Answered Questions { C }

stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

569


c program to arrange digits in a no in ascending and descending order

3681


Why is event driven programming or procedural programming, better within specific scenario?

816


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

1474


what is the structure pointer?

563


the data type used for unlimited value in c and how to do this program

402


what is reason of your company position's in india no. 1.

702


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

536


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

1909


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

424


how to introdu5ce my self in serco

494


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

339


why wipro wase

723


c program to compute AREA under integral

550


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

638