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');
}
No Answer is Posted For this Question
Be the First to Post Answer
What is a union?
how to swap 2 numbers within a single statement?
What is the equivalent code of the following statement in WHILE LOOP format?
Write a program that receives as input a number omaadel-n-print, four digits.
write a program that will accept two integers and will implement division without using the division operator if the second value is an odd number and will implement multiplication without using multiplication operator if the second value is an even number.
The C language terminator is a.semicolon b.colon c.period d.exclamation mark
how do you programme Carrier Sense Multiple Access
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
Explain the difference between getch() and getche() in c?
program for following output using for loop? 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5
difference between my-strcpy and strcpy ?
3 Answers Geometric Software, IIM, Infosys,
print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar