C Interview Questions

Questions
Answers
Views
Company
eMail

a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=?

f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?

macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration

enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above

Un-Answered Questions { C }

what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

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

how do you programme Carrier Sense Multiple Access

write a programming in c to find the sum of all elements in an array through function.

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

my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

what is used instead of pointers in java than c?

the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

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....

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

number of times a digit is present in a number

I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

write a c program to find largest of three numbers using simple if only for one time.

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