How to run c Program without using IDE of c.
means if program made in notepad.then how to compile by
command prompt.
Answer / rajesh
compile
gcc filename.c
its create exe file is a.out
run
./a.out
ll gie output
Is This Answer Correct ? | 3 Yes | 0 No |
How to find the usage of memory in a c program
What is meant by global static? why we have to use static variable instead of Global variable
Why does everyone say not to use scanf? What should I use instead?
What is #line used for?
main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }
2 Answers Vector, Vector India,
a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static Which of the Following Statements are true w.r.t Bit-Fields A)a,b&c B)Only a & b C)Only c D)All
3 Answers Accenture, Digg.com,
how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk.
Why c is called procedure oriented language?
main() { enum{red,green,blue=6,white}; pf("%d%d%d%d", red,green,blue,white); return 0; } a)0 1 6 2 b)0 1 6 7 c)Compilation error d)None of the above
Given a piece of code int x[10]; int *ab; ab=x; To access the 6th element of the array which of the following is incorrect? (A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .
write a program to copy the string using switch case?
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }