Answer Posted / sahil
num=num ^ (1<<(n-1));
| Is This Answer Correct ? | 51 Yes | 10 No |
Post New Answer View All Answers
Write a code of a general series where the next element is the sum of last k terms.
How can I direct output to the printer?
Can we declare a function inside a function in c?
What are examples of structures?
There seem to be a few missing operators ..
What happens if a header file is included twice?
What is restrict keyword in c?
What are runtime error?
Is void a keyword in c?
Write a program to print "hello world" without using a semicolon?
What are near, far and huge pointers?
What is the difference between char array and char pointer?
Is c procedural or functional?
What are the rules for the identifier?
Write a program to print factorial of given number without using recursion?