main()
{
signed int bit=512, mBit;
{
mBit = ~bit;
bit = bit & ~bit ;
printf("%d %d", bit, mBit);
}
}
a. 0, 0
b. 0, 513
c. 512, 0
d. 0, -513
Answers were Sorted based on User's Feedback
main(){ unsigned int i; for(i=1;i>-2;i--) printf("c aptitude"); }
main() { printf("%d", out); } int out=100;
Which version do you prefer of the following two, 1) printf(“%s”,str); // or the more curt one 2) printf(str);
Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
main() { char *a = "Hello "; char *b = "World"; clrscr(); printf("%s", strcpy(a,b)); } a. “Hello” b. “Hello World” c. “HelloWorld” d. None of the above
4 Answers Corporate Society, HCL,
Write a procedure to implement highlight as a blinking operation
what is brs test reply me email me kashifabbas514@gmail.com
main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }
How do I write a program to print proper subset of given string . Eg :input: abc output:{},{a},{b},{c},{a,b},{a,c},{b,c}, {a,b,c}.I desperately need this program please mail me to saravana6m@gmail.com
code of a program in c language that ask a number and print its decremented and incremented number.. sample output: input number : 3 321123
print a semicolon using Cprogram without using a semicolon any where in the C code in ur program!!
35 Answers Tata Elxsi, TCS, VI eTrans,
void main() { int c; c=printf("Hello world"); printf("\n%d",c); }