void main(){
int a;
a=1;
while(a-->=1)
while(a-->=0);
printf("%d",a);
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

How can I find the day of the week given the date?

0 Answers  


Write a program to generate the Fibinocci Series

0 Answers   TISL,


How to reverse a string using a recursive function, without swapping or using an extra memory?

31 Answers   Cisco, Mind Tree, Motorola, Ophio, Sony, TCS, Wipro,


what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....

1 Answers   TCS,


c program to manipulate x=1!+2!+3!+...+n! using recursion

1 Answers   TCS,


When should a type cast be used?

0 Answers  


How can I write a function that takes a format string and a variable number of arguments?

0 Answers  


what is the function of void main()?

8 Answers  


What is action and transformation in spark?

0 Answers  


Explain is it better to bitshift a value than to multiply by 2?

0 Answers  


Write a function that will take in a phone number and output all possible alphabetical combinations

0 Answers   Motorola,


Blade logic interview question. 1st round is a written tests with 15 multiple questions from c and c++. All are simple basic question. Like int main () { Int i=65; Return printf(“%c”, i); } 2nd and 3rd round is technical interview. The position for which I was interview was core UNIX and c. Yes it is for system programming. The company has product name blade server. For their server they are creating their own command for their purpose. Example cd command. We can implement it in a c program by using the chdir() function. So the question asks related to PID, fork, pipe, shared memory, signal. Write a program in c which will act as cp command.

1 Answers   BladeLogic, Infosys,


Categories