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 |
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
Linked lists -- can you tell me how to check whether a linked list is circular?
How many types of operators are there in c?
What are extern variables in c?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
how to write palindrome program?
#include<stdio.h> int main(){ int a[]={1,2,3,5,1}; int *ptr=a+4; int y=ptr-a; printf("%d",y); }
Explain function?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What do you understand by normalization of pointers?
can we write a c program with out using main
What does %c mean in c?