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

what is the main use of c where it can use the c

2 Answers   Infosys,


what is array?

8 Answers  


write a program to display numbers from 1 to 10 and 10 to 1?

2 Answers  


write a program that will accept two integers and will implement division without using the division operator if the second value is an odd number and will implement multiplication without using multiplication operator if the second value is an even number.

1 Answers  


1 What is a Data Structure?

1 Answers  


Tell me with an example the self-referential structure?

0 Answers  


write a c program to add two integer numbers without using arithmetic operator +

13 Answers   Value Labs,


sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x?

4 Answers   Subex,


related to rdbms query .

2 Answers  


How can you access memory located at a certain address?

0 Answers  


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

1 Answers  


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

0 Answers  


Categories