C Interview Questions
Questions Answers Views Company eMail

sir, i cannot find the way how to write aprogram by using array on queue


1 1839


IBM, SAS, Carphone Warehouse,

8 13257

How can I make a program in c to print 'Hello' without using semicolon in the code?

C DAC, Practical Viva Questions,

9 9645

write a function to find whether a string is palindrome or not and how many palindrome this string contain?


2 9633

compute the nth mumber in the fibonacci sequence?

HPL, Satyam, Canon, TCS,

10 11720

What are the commands should be given before weiting C Program i.e, Cd.. like

IBM, Satyam, Infonet, Tech Mahindra,

4 3724

can i know the source code for reversing a linked list with out using a temporary variable?


6 5609

hello friends what do u mean by BUS ERROR i got this error while i am doing my program in DATA STRUCTURES


2 3872

how to exchnage bits in a byte b7<-->b0 b6<-->b1 b5<-->b2 b4<-->b3 please mail me the code if any one know to rajeshmb4u@gmail.com

Honeywell, Huawei,

3 4363

difference between i++* and *++i


6 8502

hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?



write a code for large nos multilication (upto 200 digits)


2 6619

can u give me the good and very optimised code for a car racing game?


What is meant by global static? why we have to use static variable instead of Global variable


4 4762

In how much time you will write this c program? Prime nos from 1 to 1000


2 2109

Post New C Questions

Un-Answered Questions { C }

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


code for find determinent of amatrix


can we have joblib in a proc ?


Between macros and functions,which is better to use and why?


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.


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor


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.


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.


Write a C program linear.c that creates a sequence of processes with a given length. By sequence it is meant that each created process has exactly one child. Let's look at some example outputs for the program. Here the entire process sequence consists of process 18181: Sara@dell:~/OSSS$ ./linear 1 Creating process sequence of length 1. 18181 begins the sequence. An example for a sequence of length three: Sara@dell:~/OSSS$ ./linear 3 Creating process sequence of length 3. 18233 begins the sequence. 18234 is child of 18233 18235 is child of 18234 ........ this is coad .... BUt i could not compleate it .....:( #include #include #include #include int main(int argc, char *argv[]) { int N; pid_t pid; int cont; if (argc != 2) { printf("Wrong number of command-line parameters!\n"); return 1; } N = atoi(argv[1]); printf("Creating process sequence of length %d.\n",N); printf("%d begins the sequence.\n",getpid()); /* What I have to do next ?????? */ }


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.


what are bit fields? What is the use of bit fields in a structure declaration?


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays


how to execute a program using if else condition and the output should enter number and the number is odd only...