what is the purpose of the following code, and is there any
problem with the code?
void fn(long* p1, long* p2)
{ register int x = *p1;
register int y = *p2;
x ^= y;
y ^= x;
x ^= y;
*p1 = x;
*p2 = y;
}
What is #include cctype?
what does ‘#include’ mean?
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What does %d do in c?
#include<stdio.h> int main() { int i=2; int j=++i + ++i + i++; printf("%d\n",i); printf("%d\n",j); }
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
write a program to convert a expression in polish notation (postfix) to inline (normal)
write a program of bubble sort using pointer?
Explain that why C is procedural?
Define function pointers?
How to write a program to receive an integer & find its octal equivalent by using for loop?