What will be the result of the following C language program?
main()
{
int a = 0; int b = 20; char x = 1; char y = 10;
if(a,b,x,y)
printf("Welcome");
}
What are identifiers c?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
4. main() { int c=- -2; printf("c=%d",c); }
What is the symbol indicated the c-preprocessor?
Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.
2 Answers Scientific Atlanta, Wipro,
two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
Famous puzzles which are generally asked by companies during interviews ?
Is reference used in C?
what are the files which are automatically opened when a c file is executed?
How can I sort a linked list?
Can variables be declared anywhere in c?