a<<1 is equivalent to
a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the
above
Answers were Sorted based on User's Feedback
Answer / dev
left shift by 1 so the ans would be none of this..... it is
complementing
| Is This Answer Correct ? | 8 Yes | 15 No |
What is ## preprocessor operator in c?
Please list all the unary and binary operators in C.
what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)
write a function for strtok()??
Write a program to find minimum between three no.s whithout using comparison operator.
What does it mean when a pointer is used in an if statement?
What is the concatenation operator?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
write a program to display numbers from 1 to 10 and 10 to 1?
Write a program to print factorial of given number without using recursion?