adplus-dvertising
frame-decoration

Question

puts(argv[0]);

a.

prints the name of the source code file

b.

prints argv

c.

prints the number of command line arguments

d.

prints the name of executable code file

Answer: (d).prints the name of executable code file

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. puts(argv[0]);

Similar Questions

Discover Related MCQs

Q. Bit field

Q. Choose the correct comments
In a bit-field

Q. The declaration int x : 4;
means

Q. Bit-fields will he accommodated in a word

Q. Choose the correct statement.

Q. The use of macro in the place of functions

Q. The process of transforming one bit pattern into another by bit-wise operations is called

Q. How many bits are absolutely necessary to store an ASCII character?

Q. If 7 bits are used to store a character, the percentage reduction of needed storage will be

Q. How many bits are absolutely necessary to store an ASCII character ?

Q. a << 1 is equivalent to

Q. Assume an unsigned integer occupies 1 byte. Let myVar be an unsigned integer. Then myVar « 1 multiplies myVar by 2 if it is not greater than

Q. In a certain machine, the sum of an integer and its 1's complement is 226 - 1. Then sizeof intl. in bits, will be

Q. Which of the following comments about the preprocessor directive # are correct?

Q. The most significant hit will be lost in which of the following operations?

Q. If the bit pattern corresponding to a signed integer is shifted to the right then

Q. If the word size is 16 bit, then ~0xc5 will be

Q. Preprocessing is typically done

Q. Choose the correct statements.

Q. Consider the following statement.

# define hypotenuse(a, b) sqrt (a * a + b * b ) ;

The macro-call hypotenuse ( a + 2, b + 3) ;