C Interview Questions
Questions Answers Views Company eMail

what is the difference between. system call and library function?

CDAC, Satyam,

2 18967

struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??

Verifone,

9 13558

what is diff b/w huge & far & near pointer??

HCL,

1 3524

write a function for strtok()??

Verifone,

2 9362

what is the output of the following program and explain the answer #include exp() { main(5) } main(int a) { printf("%d",a); return; }

Satyam,

3 5277

what is difference b/w extern & volatile variable??

Teleca,

6 12923

what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

Gamesa, Satyam,

1887

design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.

2 4870

i want to have a program to read a string and print the frequency of each character and it should work in turbo c

Persistent, Wipro,

3 7960

here is a link to download Let_Us_C_-_Yashwant_Kanetkar

Microsoft,

3 10139

How do you write a program which produces its own source code as its output?

2 4425

what is the importance of spanning tree?

1535

How to reverse a string using a recursive function, with swapping?

5 7144

How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

Adobe, Huawei,

6 9783

what is pointer

TCS,

1 3676


Post New C Questions

Un-Answered Questions { C }

Is it fine to write void main () or main () in c?

533


How can I find the modification date of a file?

689


What is the general form of #line preprocessor?

570


all c language question

1850


What is table lookup in c?

616






Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

3677


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2159


What is meant by type specifiers?

647


What is ctrl c called?

580


How does pointer work in c?

604


Linked lists -- can you tell me how to check whether a linked list is circular?

629


What are valid operations on pointers?

654


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

5407


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2015


What is a global variable in c?

581