Explain the advantages of using macro in c language?
No Answer is Posted For this Question
Be the First to Post Answer
While(1) { } when this loop get terminate is it a infinite loop?
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,
value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
How to find a missed value, if you want to store 100 values in a 99 sized array?
What is New modifiers?
Was 2000 a leap year?
What is the method to save data in stack data structure type?
Write a program to swap two numbers without using a temporary variable?
void main() { int i=5; printf("%d",i+++++i); }
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What is the difference between new and malloc functions?