why do you use macros? Explain a situation where you had to
incorporate macros in your proc report? use a simple
instream data example with code ?
No Answer is Posted For this Question
Be the First to Post Answer
#define prod(a,b) a*b main() { int x=3,y=4; printf("%d",prod(x+2,y-1)); }
How we print the table of 3 using for loop in c programing?
write a c-program to display the time using FOR loop
how to return a multiple value from a function?
main() { static int var = 5; printf("%d ",var--); if(var) main(); }
Given a list of numbers ( fixed list) Now given any other list, how can you efficiently find out if there is any element in the second list that is an element of the first list (fixed list)
3 Answers Disney, Google, ZS Associates,
void main() { int i=5; printf("%d",i++ + ++i); }
write a program for area of circumference of shapes
# include<stdio.h> aaa() { printf("hi"); } bbb(){ printf("hello"); } ccc(){ printf("bye"); } main() { int (*ptr[3])(); ptr[0]=aaa; ptr[1]=bbb; ptr[2]=ccc; ptr[2](); }
Write a routine that prints out a 2-D array in spiral order
main( ) { int a[2][3][2] = {{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}}; printf(ā%u %u %u %d \nā,a,*a,**a,***a); printf(ā%u %u %u %d \nā,a+1,*a+1,**a+1,***a+1); }
can u give me the c codings for converting a string into the hexa decimal form......