Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
Write a program in C to add five 32 bit numbers available at successive memory locations and to divide the result by sixth numer available at next successive location.
{ long int i, sum=0,*p;
p=1001; /* assume the numbers are from 1001 location */
for (i=0;i<5;i++)
{ sum= sum+ *p ;
p=p+1;
}
sum=sum/(*p) ; /* use only /*(p) not /*p since it may come to comment */
printf (\
Questions by pvpfirst
Related Answered Questions
Related Open Questions