Why is c platform dependent?
No Answer is Posted For this Question
Be the First to Post Answer
What are the concepts introduced in OOPs?
What are examples of structures?
what is the difference between auto and static keywords
1 Answers cDot, College School Exams Tests, TCS,
about c language
what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }
what is the stackpointer
we have to use realloc only after malloc or calloc ? or we can use initially with out depending on whether we are using malloc or calloc in our program ?
which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none
write a function which accept two numbers from main() and interchange them using pointers?