#include<stdio.h>
int main()
{ int i=0,j=1,k=2,m,n=0;
m=i++&&j++&&k++||n++;
printf("%d,%d,%d,%d,%d",i,j,k,m,n);
}
Answer Posted / a.sivasankar
i=0,j=1,k=3,m=0,n=0
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
Explain how can I make sure that my program is the only one accessing a file?
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.
What is the -> in c?
What are file streams?
What does main () mean in c?
Explain the priority queues?
Define recursion in c.
which type of aspect you want from the student.
What is %s and %d in c?
How many levels of indirection in pointers can you have in a single declaration?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
Explain low-order bytes.
Why string is used in c?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.