Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


#include<stdio.h>
#include<conio.h>
int main()
{
int a[4][4]={{5,7,5,9},
{4,6,3,1},
{2,9,0,6}};
int *p;
int (*q)[4];
p=(int*)a;
q=a;
printf("\n%u%u",p,q);
p++;
q++;
printf("\n%u%u",p,q);
getch();
return 0;
}

what is the meaning of this program?

Answers were Sorted based on User's Feedback



#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {..

Answer / ajinkya

void main{int a=1;while(a++<=1)while(a++>2);}

Is This Answer Correct ?    1 Yes 0 No

#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {..

Answer / sanjay bhosale

Assuming base address is 1000.
And integer requires 4byte of memory.

First printf will give 1000 and 1000
while second printf will give 1004 and 1016.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

how to print the character with maximum occurence and print that number of occurence too in a string given ?

0 Answers   Microsoft,


What is the difference between Printf(..) and sprint(...) ?

0 Answers   InterGraph,


When we use void main and int main?

0 Answers  


What is the difference between single charater constant and string constant?

0 Answers  


What is the purpose of sprintf() function?

0 Answers  


What is 02d in c?

0 Answers  


What is sorting in c plus plus?

0 Answers  


How does normalization of huge pointer works?

0 Answers  


#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }

1 Answers  


How are pointers declared in c?

0 Answers  


What is the difference between struct and typedef struct in c?

0 Answers  


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

0 Answers  


Categories