C Interview Questions
Questions Answers Views Company eMail

find a number whether it is even or odd without using any control structures and relational operators?

Microsoft, Shashank Private Limited,

22 16536

program for validity of triangle from 3 side

7 4639

can we print any string in c language without using semicolon(;)(terminator) in whole program.

11 11171




marge linklist

HCL,

1248

what is const volatile?

2 2458

convert 12345 to 54321 withoutusing strig

5 4699

simple c program for 12345 convert 54321 with out using string

TCS,

7 12789

could u able to tell about suresoft technical session

1 3107




WRITE A PROGRAM IN C TO MULTIPLY TWO 2-D ARRAYS

4 14850

do ne body have any idea about the salary for the we r going to have interview. yup .. u got it right ..i m talking abt NIC.

1 1656

How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.

NetApp,

12 13097

let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................

8 6063

which type of question asked from c / c++ in interview.

2 3408

Is it possible to create recycle bin in mobiles?

2 2984

Determine if a number is a power of 2 at O(1).

2 2690


Post New C Questions






Un-Answered Questions { C }

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

1487


write a c program for swapping two strings using pointer

1284


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

799


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

750


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

4277






please send me the code for multiplying sparse matrix using c

993


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 .

1066


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

848


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?

858


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

2435


code for quick sort?

794


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

778


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.

733


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

916


how to introdu5ce my self in serco

775