C Interview Questions
Questions Answers Views Company eMail

the question is that what you have been doing all these periods (one year gap)

HCL,

982

for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????

7 9173

for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????

8 7794




How can we see the Expanded source code and compiled code for our source program in C?

1 5760

can we write a program in c for printf and scanf without using header file stdio.h

1 4823

what is use of loop?

Infosys,

10 4215

how to get the starting address of file stored in harddisk through 'C'program.

Siemens,

2 4396

Name the language in which the compiler of "c" in written?

Bajaj,

3 2960




Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;

Accenture, Cisco, HCL, Infosys, TCS, Egentec, Ideaz, M-Systems, MYR,

18 26697

how to make c program without a libary? e.g.#include libary is not in c progaram.

2 3060

what are the general concepts of c and c++

2 2440

how to create c progarm without void main()?

NIIT,

1 3607

what type of language is C?

Microsoft,

13 30479

name the language for writing c compiler?

Microsoft,

3 3064

where does it flourished?

Microsoft,

826


Post New C Questions






Un-Answered Questions { C }

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. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2078


can anyone please tell about the nested interrupts?

931


Which driver is a pure java driver

230


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

1902


p*=(++q)++*--p when p=q=1 while(q<=6)

552






A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

592


Sir i need notes for structure,functions,pointers in c language can you help me please

1285


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

1119


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

1551


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 ?????? */ }

913


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

1523


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

10347


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

4813


why we wont use '&' sing in aceesing the string using scanf

1092


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

893