mohit


{ City } etah
< Country > india
* Profession * programming
User No # 63349
Total Questions Posted # 0
Total Answers Posted # 4

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 9
Users Marked my Answers as Wrong # 5
Questions / { mohit }
Questions Answers Category Views Company eMail




Answers / { mohit }

Question { CTS, 10774 }

wt is diference between int and int pointer as same as
float and float pointer and char and char pointer


Answer

Pointer is a variable that hold the address of another
variable so address always integer type
The pointer type can not be char,float, etc

Is This Answer Correct ?    0 Yes 2 No

Question { IBM, 18487 }

#include
void main()
{
int a=5,b=6,c;
int x=(a int y=(x==7)*9;
int z=(c=x+y)*2;
printf("%h %h %h",x,y,z);
}
What is the output? Explain it.


Answer

Here The Program will be print the Message %h%h%h only
because in the c language
the data type print the integer value by %d
character by %c
float by %f
pointer type by %u

Is This Answer Correct ?    2 Yes 2 No


Question { 3669 }

Can anyone help me with this please? Need to print the below
values.. Thanks

1
1 2
1 2 3
1 2 3 4


Answer

#include
#include
void main()
{
int i,j;
for(i=1;i<=4;i++)
{
for(j=1;j<=i;j++)
printf("%d",j);
}
printf("\n");
getch();
}

Is This Answer Correct ?    4 Yes 0 No

Question { NASA, 4945 }

what is compiler?


Answer

it is a translator which translate high level language to machine language

Is This Answer Correct ?    3 Yes 1 No