C Interview Questions
Questions Answers Views Company eMail

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

Satyam, CDAC,

2 15900

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


9 8515

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


1 2296

write a function for strtok()??


2 7378

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


3 3101

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


6 8824

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

Satyam, Gamesa,


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 3279

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 6006

here is a link to download Let_Us_C_-_Yashwant_Kanetkar


3 7598

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

2 3003

what is the importance of spanning tree?


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

5 4515

How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

Adobe, Huawei,

6 6918

what is pointer


1 2430

Post New C Questions

Un-Answered Questions { C }

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


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.


how to build a exercise findig min number of e heap with list imlemented?


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions


what is the structure pointer?


write a program to find out prime number using sieve case?


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.


hi send me sample aptitude papers of cts?


c program for searching a student details among 10 student details


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.


At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with these names could be kept in that shelf as in this example: bottom of shelf ---> [AAAJKRDFDEWAAYFYYKK]-----Top of shelf. All these packets are to be loaded on cars. The cars are lined in order, so that the packet could be loaded on them. The cars are also named [A, B, C, D, E,………….]. Each Car will load the packet with the same alphabet. So, for example, car ‘A’ will load all the packets with name ‘A’. Each particular car will come at the loading point only once. The cars will come at the loading point in alphabetical order. So, car ‘B’ will come and take all the packets with name ‘B’ from the shelf, then car ‘C’ will come. No matter how deep in the shelf any packet ‘B’ is, all of the ‘B’ packets will be displaced before the ‘C’ car arrives. For that purpose, some additional shelves are provided. The packets which are after the packet B, are kept in those shelves. Any one of these shelves contains only packets, having the same name. For example, if any particular shelf is used and if a packet with name X is in it, then only the packets having names X will be kept in it. That shelf will look like [XXXXXXX]. If any shelf is used once, then it could be used again only if it is vacant. Packets from the initial shelf could be unloaded from top only. Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.


how to capitalise first letter of each word in a given string?


Why cd or dvd are round why not square.