Explain a file operation in C with an example.
Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?
How to calculate Total working time using Login and logout?
2 Answers CTS, Cygnus, Infosys, Signal Networks, TCS, Wipro,
What is a void pointer? When is a void pointer used?
What are the header files used in c language?
Explain what are bus errors, memory faults, and core dumps?
Why static is used in c?
#include<stdio.h> int main() { int i=2; int j=++i + ++i + i++; printf("%d\n",i); printf("%d\n",j); }
main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*
Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global.
when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none
what is use of loop?
#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }