Write a program to exchange two variaables without temp
Answer Posted / sandeep rehlan
Sir, please explain me the 3rd and 6th answer because both
are the orrect way of swapping of two variables.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the function of pragma directive in c?
What is difference between static and global variable in c?
What happens if a header file is included twice?
What are reserved words?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
What is the deal on sprintf_s return value?
Give the rules for variable declaration?
Explain modulus operator. What are the restrictions of a modulus operator?
Here is a neat trick for checking whether two strings are equal
write a program to find out prime number using sieve case?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
Why is it usually a bad idea to use gets()? Suggest a workaround.
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b