What is the scope of static variables?
What's wrong with "char *p = malloc(10);" ?
Can you think of a logic behind the game minesweeper.
What are the advantages of using macro in c language?
#include<conio.h> #include<stdio.h> void main() { int i; if(1,0,2,3) { printf("if"); } else { printf("else"); } getch(); } Can any body tell the answer of this question with explanation?
A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }
What is meant by int fun const(int a, int b) { .... ... }
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(); }
Write a programme to find even numbers without using any conditional statement?
3 Answers ADD Software, Infosys,
What is the difference between null pointer and void pointer
10 Answers CTS, Manforce, MAQ Software,
What is function pointer and where we will use it
Explain how can I manipulate strings of multibyte characters?
who invented c