we compile c program in 32 processor and 64 bit processor
.exe file is created in both the processors. if we want to
run .exe file in 64 bit processor which is created in 32 bit
processor. is that .exe file is run or not if it is not run why?
Answers were Sorted based on User's Feedback
Answer / anil
64-bit OS usually comes up with 32-bit emulations also.
That's why we will be able to run 32-bit app on a 64-bit OS.
More precisely 64-bit architecture is a super-set of 32-bit.
| Is This Answer Correct ? | 7 Yes | 2 No |
if a person is buying coconuts of Rs10,and then sell that coconuts of Rs9,with the loss of one rupee.After that the person became a millaniore.how?
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
Explain what is the stack?
Explain command-line arguments in C.
how does printf function work
What are the different types of storage classes in C?
write a program for 7*8 = 56 ? without using * multiply operator ? output = 56
What is auto keyword in c?
#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }
Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)ferror() A)ii B)i,ii C)iii D)iv
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
i=10,j=20 j=i,j?(i,j)?i:j:j print i,j