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
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.
The statement, int(*x[]) () what does in indicate?
What will be the outcome of the following conditional statement if the value of variable s is 10?
differnce between do and do while
write a string copy function routine?
What math functions are available for integers? For floating point?
if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?
What is structure padding ?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }
program to get the remainder and quotant of given two numbers with out using % and / operators?
10 Answers College School Exams Tests, IBM,
Explain the difference between fopen() and freopen().