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...

ravinder rawat


{ City } noida
< Country > india
* Profession * ase
User No # 95333
Total Questions Posted # 1
Total Answers Posted # 3

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

Users Marked my Answers as Correct # 86
Users Marked my Answers as Wrong # 19
Questions / { ravinder rawat }
Questions Answers Category Views Company eMail

how to write optimum code to divide a 50 digit number with a 25 digit number??

MGM,

C 3209




Answers / { ravinder rawat }

Question { L&T, 21536 }

write a program of palindrome(madam=madam) using pointer?


Answer

#include
#include
void main()
{ char *a,*count,s[11];
int i ;
printf("\n:enter string for Palindrome test\t");
scanf("%s",&s);
i= strlen(s);
a=(char *)malloc(i*sizeof(char));
a=&s[0];
count=&s[i-1];
while((*(a++)==*(count--)) && i>=1)
{ i--; }
if(i==0) { printf("\n%s is a palin",s);}
else { printf("\n%s is not palin",s);}
getch();
}

Is This Answer Correct ?    39 Yes 7 No

Question { 19083 }

what is the output of
printf("%d",(scanf("%d",10));


Answer

scanf returns nos. of arguments taken by scanf hence it
will ask user to input and if integer is fed as I/P then
printf gives 1 as o/p

Is This Answer Correct ?    4 Yes 1 No


Question { Infosys, 20561 }

how to execute with out main in cprogram


Answer

#include
#define ravinder(z,g,c,f,x,y) z##c##y##x
#define rawat ravinder(m,b,a,j,n,i)

void rawat()
{ printf("MGM NOIDA");
getch();}

Is This Answer Correct ?    43 Yes 11 No