The C programming language is a computer programming language that was developed to do system programming for the operating system UNIX and is an imperative programming language. ... The language itself has very few keywords, and most things are done using libraries, which are collections of code for them to be reused.
Contact _____
Email ____ Codingtutorial2000@gmail.com
Instagram _____ www.instagram.com/codingtutorial20/
codingtutorial
41). What will this code output?
int x = 4;
if (x % 2 == 0)
cout << "Even";
else
cout << "Odd";
2 weeks ago | [YT] | 16
View 0 replies
codingtutorial
38). How many times is 'Hello' printed?
int x = 3;
while (x--)
{ cout << "Hello ";
x--; }
2 weeks ago | [YT] | 15
View 4 replies
codingtutorial
37). What does this code print?
for (int i = 0; i < 3; i++)
continue;
cout << i;
2 weeks ago | [YT] | 17
View 3 replies
codingtutorial
35). What is the output?
int x = 2;
switch(x)
{ case 1: x++;
case 2: x++;
case 3: x++;
default: x++; }
cout << x;
2 weeks ago | [YT] | 10
View 4 replies
codingtutorial
31). What is the output of the following code?
int x = 5;
if (x == 0)
cout << "Zero";
else
cout << "Non-zero";
2 weeks ago | [YT] | 10
View 0 replies
codingtutorial
30).What will the following loop print?
for (int i = 1; i <= 5; i += 2) {
cout << i << " ";
}
3 weeks ago | [YT] | 14
View 1 reply
codingtutorial
25).Identify the error in this code:
int x = 1;
if x == 1
cout << "Yes";
3 weeks ago | [YT] | 7
View 1 reply
codingtutorial
My Second Channel Please Subscribe to all Friends
https://youtu.be/KcSbrg8x8kg
3 weeks ago | [YT] | 0
View 0 replies
codingtutorial
24).What is the output?
for (int i = 5; i > 0; i--) {
if (i == 3) break;
cout << i << " ";
}
3 weeks ago | [YT] | 7
View 0 replies
codingtutorial
21).What will be printed?
int a = 5, b = 10;
cout << (a > b ? a : b);
3 weeks ago | [YT] | 20
View 1 reply
Load more