void main(){
int a;
a=1;
while(a-->=1)
while(a-->=0);
printf("%d",a);
}
How can I find the day of the week given the date?
Write a program to generate the Fibinocci Series
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....
c program to manipulate x=1!+2!+3!+...+n! using recursion
When should a type cast be used?
How can I write a function that takes a format string and a variable number of arguments?
what is the function of void main()?
What is action and transformation in spark?
Explain is it better to bitshift a value than to multiply by 2?
Write a function that will take in a phone number and output all possible alphabetical combinations
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,