How many types of operators are there in c?
No Answer is Posted For this Question
Be the First to Post Answer
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(); }
Write a program which returns the first non repetitive character in the string?
void main() { int a[]={1,2,3,4,5},i; for(i=0;i<5;i++) printf("%d",a++); getch(); }
How is a two dimensional array passed to function when the order of matrix is not known at complie time?
what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }
can we implement multi-threads in c.
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
How do I initialize a pointer to a function?
what is a stack
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
Can a pointer point to null?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?