Q. What is meant by ‘a’ in the following C operation?
Code:fp = fopen("Random.txt", "a");
Dear candidates you will find MCQ questions of C Programming here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
fp = fopen("Random.txt", "a");
#include <stdio.h>
int main()
{
int y = 10000;
int y = 34;
printf("Hello World! %d\n", y);
return 0;
}
#include <stdio.h>
int main()
{
int main = 3;
printf("%d", main);
return 0;
}
#include <stdio.h>
int main()
{
signed char chr;
chr = 128;
printf("%d\n", chr);
return 0;
}
#include <stdio.h>
union Sti
{
int nu;
char m;
};
int main()
{
union Sti s;
printf("%d", sizeof(s));
return 0;
}
#include <stdio.h>
enum birds {SPARROW, PEACOCK, PARROT};
enum animals {TIGER = 8, LION, RABBIT, ZEBRA};
int main()
{
enum birds m = TIGER;
int k;
k = m;
printf("%d\n", k);
return 0;
}
#include <stdio.h>
int const print()
{
printf(" example.com");
return 0;
}
void main()
{
print();
}
#include <stdio.h>
int main()
{
for (int k = 0; k < 10; k++);
return 0;
}
#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}
#include <stdio.h>
void main()
{
float x;
int y;
printf("enter two numbers \n", x);
scanf("%f %f", &x, &y);
printf("%f, %d", x, y);
}