C Interview Questions
Questions Answers Views Company eMail

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

Satyam, CDAC,

2 16118

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

Verifone,

9 8749

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

HCL,

1 2334




write a function for strtok()??

Verifone,

2 7459

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 3156

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

Teleca,

6 8980

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

Satyam, Gamesa,

1042

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 3327




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

Wipro, Persistent,

3 6072

here is a link to download Let_Us_C_-_Yashwant_Kanetkar

Microsoft,

3 7640

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

2 3047

what is the importance of spanning tree?

758

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

5 4571

How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

Adobe, Huawei,

6 6993

what is pointer

TCS,

1 2485


Post New C Questions






Un-Answered Questions { C }

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

687


List the variables are used for writing doubly linked list program.

794


How will you find a duplicate number in a array without negating the nos ?

868


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

964


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.

999






Write the test cases for checking a variable having value in range -10.0 to +10.0?

882


Difference between Shallow copy and Deep copy?

779


Write a c program to demonstrate character and string constants?

870


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

637


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

747


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

1892


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

689


main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*

461


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. The Logic should be written in Data Structures?

781


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

691