Question

Explain the use of followings in C++ programming with an example program for each.

(a) for

(b) :?

(c) ::

(d) while

21 Jan 2021
Answer :
Word Count : 259

er-roman">

  • If statement:-

If statement is used to check the condition between two operands. If condition is true statement is executed otherwise not executed.

Syntax of if statement

If (expression)

{

Statements;

}

EXAMPLE:-

#include<iostream.h>

#include<conio.h>

void main()

__________ ________ _____ ____ _______ ____ ______ ________ _____ __________ _______ _______.
_________ ________ __________ _______ ___.
___ ______ _________ ______ ___ ____ _____ ____ _____.
_________ ___ _________ _________ __________ ____ _____ _________ ___ _______ ________ _________.
___ __________ __________ _____ __________ __________ ___ _________ ________.
__________ _________ __________ ________ ________ _____ _______ ____ ____ _________.
___ __________ ______ _______ _________ _______ _____ _________ _____ ______ _________ _____.
______ ________ ___ __________ __________ ____.
_________ ____ _____ ____ ____.
____ _________ _____ __________ ________ _______ ______.
__________ ________ ___ ______ _____ ___ ______ __________ ______ __________ ________ ___.
______ ________ _____ _____ ____ __________ _________ _________ __________ _____.
______ ____ _______ _________ ________ ____ __________ ______ _________ ___ ______.
_________ ___ ________ ______ _____.
_____ ___ _____ _____ _______.
_________ ________ ___ ______ _________ _________ ____ _________ _________ ________ ___.
___ ____ _______ ____ ____ _________ ____ _______ __________ _____ ______.
___ ______ ___ _________ _______ _____ _____ _______.
______ ___ ______ __________ _______ __________ _______ _____.
___ ________ __________ ___ _______ ________ _______ _________ _______ _________ _______.
________ _______ ______ __________ ______ __________ ____ _____ __________.
_______ __________ _________ ______ _________ _________ _________ __________ ______.
__________ ______ ___ ____ ________ ____ _______ _________ _____ ______ __________.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Explain the use of followings in C++ programming with an example progr
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support