Operators and Expression November 26, 2020December 21, 2020wefru Operator and expression mainy it consists of operands, logical operators, arthimetic operators etc 3 Created on November 26, 2020 By wefru Operators and Expression TEST YOUR BROAD SKILLS 1 / 10 Q.131 What is the purpose of "rb" in fopen() function used below in the code?FILE *fp;fp = fopen("source.txt", "rb"); open "source.txt" in binary mode for reading open "source.txt" in binary mode for reading and writing Create a new file "source.txt" for reading and writing None of the above 2 / 10 Q.132 Which of the following operations can be performed on the file "NOTES.TXT" using the below code?FILE *fp;fp = fopen("NOTES.TXT", "r+"); Reading Writing Appending Read and Write 3 / 10 Q.133 To print out a and b given below, which of the following printf() statement will you use?#include<stdio.h>float a=3.14;double b=3.14; printf("%f %lf", a, b); printf("%Lf %f", a, b); printf("%Lf %Lf", a, b); printf("%f %Lf", a, b); 4 / 10 Q.134 The maximum combined length of the command-line arguments including the spaces between adjacent arguments is 128 characters . 256 characters 67 characters It may vary from one operating system to another 5 / 10 Q.135 What do the 'c' and 'v' in argv stands for? 'c' means argument control 'v' means argument vector 'c' means argument count 'v' means argument vertex 'c' means argument count 'v' means argument vector 'c' means argument configuration 'v' means argument visibility 6 / 10 Q.136 IndiaBIX 1 7 11 0 4 3 1 2 7 / 10 Q.137 What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile?#include<stdio.h>#define SWAP(a, b, c)(c t; t=a, a=b, b=t)int main(){ int x=10, y=20; SWAP(x, y, int); printf("%d %d\n", x, y); return 0;} It compiles Compiles with an warning Not compile Compiles and print nothing 8 / 10 Q.138 In which stage the following code#include<stdio.h>gets replaced by the contents of the file stdio.h During editing During linking During execution During preprocessing 9 / 10 Q.139 The maximum combined length of the command-line arguments including the spaces between adjacent arguments is 128 characters 256 characters 67 characters It may vary from one operating system to another 10 / 10 Q.140 What do the 'c' and 'v' in argv stands for? c' means argument control 'v' means argument vector 'c' means argument count 'v' means argument vertex 'c' means argument count 'v' means argument vector 'c' means argument configuration 'v' means argument visibility Your score is The average score is 43% LinkedIn Facebook Twitter VKontakte 0% Restart quiz