What is the issue in the following C++ function? void show(int x = 5, int y = 10)
- Default values are not allowed in functions
- Default parameters must be declared from right to left
- Parameters must be initialized to zero
- Function syntax is invalid
Explanation
Related MCQs
ڈیٹابیس میں کالمز کو کیا کہتے ہیں؟
- Rows
- Fields
- Records
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر سائنس کا بانی کون ہے؟
- Augusta Adaming
- Allen Turing
- Charles Babbage
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ٹورنگ ٹیسٹ کس سال متعارف کروایا گیا؟
- 1936
- 1945
- 1950
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ٹورنگ ٹیسٹ کس نے متعارف کروایا؟
- Charles Babbage
- Alan Turing
- Claude Shannon
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
درج ذیل میں سے کون سا اوپن سورس سافٹ ویئر نہیں ہے؟
- Microsoft Office
- Linux
- Android
- Mozilla Firefox