Answer Posted / ashik
#define SWAP(x,y) int t;t=x;x=y;y=t;
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
Difference between pass by reference and pass by value?
What are the differences between new and malloc in C?
what are the 10 different models of writing an addition program in C language?
What does %p mean?
Explain what is the benefit of using const for declaring constants?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
What is an auto keyword in c?
What are the valid places to have keyword “break”?
Is register a keyword in c?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What is const keyword in c?
Explain how can I avoid the abort, retry, fail messages?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.