#define MAX 3
main()
{
printf("MAX = %d \n",MAX );
#undef MAX
#ifdef MAX
printf("Vector Instituteā€);
#endif

Answer Posted / shaik anif

main()
{
int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ;
int i, j , k=99 ;
for(i=0;i<3;i++)
for(j=0;j<4;j++)
if(a[i][j] < k) k = a[i][j];
printf("%d", k);
}

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c dynamically typed?

663


How can I send mail from within a c program?

575


What is the difference between if else and switchstatement

1308


Explain indirection?

637


How do you write a program which produces its own source code as output?

599






What is variables in c?

598


What do you understand by normalization of pointers?

617


What are bitwise shift operators in c programming?

637


Explain about the functions strcat() and strcmp()?

596


How can I trap or ignore keyboard interrupts like control-c?

609


What's the total generic pointer type?

606


Can 'this' pointer by used in the constructor?

608


When do we get logical errors?

630


What is the difference between %d and %i?

586


What is static and volatile in c?

773