Answer Posted / n.ramesh
#include(stdio.h);
#include(stdlib.h);
void main()
{
int a=10,b=20;
swap(a,b);
a=b&b=a;
printf("%d%d",a,b);
}
| Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
How can you call a function, given its name as a string?
Why is this loop always executing once?
Why main is used in c?
Can you please explain the difference between exit() and _exit() function?
Can the “if” function be used in comparing strings?
What are the two forms of #include directive?
Explain heap and queue.
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is nested structure in c?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
What is static memory allocation?
What tq means in chat?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Can we increase size of array in c?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list