manish soni


{ City } jaipur
< Country > india
* Profession * student
User No # 66360
Total Questions Posted # 0
Total Answers Posted # 33

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

Users Marked my Answers as Correct # 170
Users Marked my Answers as Wrong # 75
Answers / { manish soni }

Question { 10419 }

main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}


Answer

#include
#include
void main()
{
printf("%d %d %d",sizeof('3'),sizeof("3"),sizeof
(3));
getch();
}


answer is:-
1 2 2
on Turbo C++ 4.5 on win base at win 7

Is This Answer Correct ?    10 Yes 2 No

Question { 4621 }

write a program to print the one dimensional array.


Answer

#include
#include
void main()
{
int
printf("enter how many no");
scanf("%d",&n);
//arrary input;
for(i=0;i {
printf("Enter elements %d ",i+1);
scanf("%d",&a[i]);
}
//array output;
for(i=0;i printf("output at position [%d]is=%d\n",i+1,a[i]);
getch();
}

Is This Answer Correct ?    3 Yes 3 No


Question { 3564 }

what is unsigened char
and what is the difference from char


Answer

char langth is -128 to 127
and unsigned char have no neathive value so langth is
increase 256 .
this is the main differece.



manish soni TBC jaipur

Is This Answer Correct ?    2 Yes 0 No

Prev    1   2    [3]