1
|
Write a program to swap value of two variables without using third variable.Check Answer.
| ||||||
2
|
Write a program which input three numbers and display the largest number using ternary operator. Check Answer.
| ||||||
3
|
Write a program which accepts amount as integer and display total number of Notes of Rs. 500, 100, 50, 20, 10, 5 and 1.
For example, when user enter a number, 575, the results would be like this... 500: 1 100: 0 50: 1 20: 1 10: 0 5: 1 1: 0 Check Answer. | ||||||
4
|
Write a program which accepts a character and display its next character. Check Answer.
| ||||||
5
|
Write a program which accepts days as integer and display total number of years, months and days in it.
for example : If user input as 856 days the output should be 2 years 4 months 6 days. Check Answer. | ||||||
6
|
What is the output of following program?
int result = 4 + 5 * 6 + 2; cout<<result; int a = 5 + 7 % 2; cout<<a; | ||||||
7
|
What is the output of following program?
| ||||||
8
|
What is the output of following program?
| ||||||
9
|
What is the output of following program?
cout << setw(10)<< 77; | ||||||
10
|
What is the output of following program?
float net=5689.2356; cout <<"Employee's net pay is: "; cout.precision(2); cout.setf(ios::fixed | ios::showpoint); cout << net << endl; |
- Home
- C Programming
- _Algorithm & Flow Chart in C
- _Introduction to C
- _Control Statement & Looping
- _Function in C
- _Array in C
- _Pointer in C
- _Structure & Union in C
- _List of C Programs
- __Tricky Programs
- __Pattern in C
- _C Compiler
- _C Programming हिंदी में (Videos के साथ)
- C++ Programming
- _List of C++ Programs
- _C/C++ Questions
- _Minor Project 2021-22
- Projects
- App. Physics
- _Assignment 1 (2023-24)
- _Assignment 2 (2023-24)
- _Assignment 3 (2023-24)
- _AP Assignment 2
- _AP Assignment 3
- _Assignment No.2.1
- _Assignment No. 2.2
- _Office Automation & Tools
- _Introduce Yourself
- Online Exams
- _Online Attendance
- _Interview Questions
- _Youtube Channel
- More Tutorials
- _UPBTE Links
- _URISE
- _Internal Marks
- _Enrolment No
- _More Tutorials