What are the Advantages of using macro
No Answer is Posted For this Question
Be the First to Post Answer
In c language can we compile a program without main() function?
What is the output from this program? #include <stdio.h> void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; }
Ow can I insert or delete a line (or record) in the middle of a file?
What is bin sh c?
How can I discover how many arguments a function was actually called with?
What is the relationship between pointers and data structure?
what is compiler
Explain the use of fflush() function?
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
#include<stdio.h> main() { int a=1; int b=0; b=++a + ++a; printf("%d %d",a,b); }
Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc
Can a program have multiple main() functions?