Buy Discounted Microsoft Exam Voucher
Rs. 5600
OFFER PRICE Rs. 4250/- | Contact: +91 9347458388
Azure Certification
NewBatches/Webinars
Packages
Gold Membership
Bestseller
Microsoft Azure Suite & Suite Plus
Azure DevOps Expert & Expert Plus
MS.NET Foundation For Beginners
MS.NET Full Stack Developer
UI / Web Development
SQL Server & MSBI Tools
Software Testing
Courses
MS.NET Courses (Includes Live Project)
Complete C#, OOPs and Windows Programing
ASP.NET MVC Online Training
ASP.NET WebForms
ASP.NET Core
WCF incl. Web Services and Remoting
WPF incl. MVVM and Prism
LINQ and Entity Framework
Live Project Training for Developing Enterprise Application
Live Project using Ntier Arch (.NET5 + EF Core + Angular)
Gold Membership
CareerStep IT Program
Client-side UI Technologies
Building Static Web Pages using HTML and CSS
JavaScript and HTML DOM
jQuery, AJAX and JSON
Building Interactive Web Pages using HTML5 and CSS3
BootStrap + Live Examples
AngularJS + Live Project
Angular + Typescript
ReactJS
KnockoutJS
Xamarin
SQL Server + MSBI
SQL Server 2017
Querying Data with Transact-SQL(70-761)
SQL Server Integration Service (SSIS)
SQL Server Reporting Service (SSRS)
SQL Service Analysis Service (SSAS)
Cloud Computing / Azure / AWS
AZ-900: Microsoft Azure Fundamentals
Azure Suite (AZ-104+AZ-204+AZ-305+ AZ-500)
AZ-104: Microsoft Azure Administrator
AZ-204: Developing Solutions for Microsoft Azure
AZ-305: Microsoft Azure Architect Technologies and Design
AZ-400: Microsoft Azure DevOps
DP-203: Data Engineering on Microsoft Azure
Amazon Web Services (AWS)
Testing Tools
Manual Testing
Selenium Testing with Java(Live Training)
SharePoint
SharePoint 2013
Microsoft Power Platform
Power Platform Suite
Data Analytics using PowerBI (DA-100)
MicroServices
Docker
Kubernetes
Microservices using .NET Core
Others
C and Data Structure
Core Java
OOPs and C++
Advance Java
Python Programming
Complete Azure Training
Pricing
Videos
Resources
AzureA2Z
Deccansoft
Blog
On-Job Tech Support
Wall of Fame
Testimonials
Contact Us
Login
Login or Register
×
Sign In
Register
Forgot Password?
How did you find us
WhatsApp
YouTube
LinkedIn
Facebook
Telegram
Twitter
Google
Referred by Friend
Refresh
Input symbols
By clicking Register, you accept to the
terms and conditions
and that you have read our
privacy policy.
Recover Password
×
Submit
Enquiry Now
Where did you come to know about us
WhatsApp
YouTube
LinkedIn
Facebook
LinkedIn Ad
Email
Twitter
Google
Referred
Other
Refresh
Input symbols
Operators and Expressions
Interview Questions and Answer
1. What will be the output of following program? #include<stdio.h> int main() { int x , a , b , c; a = 9; b = 12; c = 3; x = a - b/3 + c*2 - 1; printf("%d",x); }
Options:
a. 11
b. 10
c. 7
d. 8
Reveal Answer
2. What is the output of the following program? #include<stdio.h> int main() { int y=6; printf("%d",++y); }
Options:
a. 6
b. 7
c. 8
d. 9
Reveal Answer
3. What is the output of the following program? #include<stdio.h> int main() { int y=6; printf("y=%d",--y); }
Options:
a. 5
b. 7
c. 2
d. 4
Reveal Answer
4. What is output of the following program? #include<stdio.h> int main() { int i, j = 4; i = j++; printf("i = %d, j = %d", i , j); }
Options:
a. i = 4, j = 4
b. i = 5, j = 5
c. i = 4, j = 5
d. i = 5, j = 4
Reveal Answer
5. What is the equivalent expression assignment operator for the x=x+5;
Options:
a. x+=5;
b. x=+5;
c. x++;
d. None of above
Reveal Answer
6. Which of the following are bitwise operators?
Options:
a. &
b. &&
c. <<
d. ||
e. ~
Reveal Answer
7. What is the output of the following program? #include<stdio.h> int main() { int x=3 , y; y=(x > 2) ? (2 * x + 5) : (1.5 * x + 3); printf("%d", y); }
Options:
a. 7.5
b. 11
c. 3
d. 9
Reveal Answer
8. What is the output for the following program? #include<stdio.h> int main() { int x=4; printf("%d",x++*++x*x--); }
Options:
a. 144
b. 125
c. 137
d. 126
Reveal Answer
9. What is the output of the Following program? #include<stdio.h> main() { float a = 1; float b = 1; printf("%d",sizeof(a+b)); }
Options:
a. 2
b. 4
c. 8
d. 16
Reveal Answer
10. What is the output of the following program? #include<stdio.h> main() { printf("%d %d %d ",sizeof('7'), sizeof(7), sizeof(7.0)); }
Options:
a. 1 4 8
b. 2 1 8
c. 1 2 4
d. 2 1 4
e. Compilation Error
Reveal Answer
11. What will be the output of the following program #include<stdio.h> main() { char ch='A'; printf("%d %c",ch,ch); }
Options:
a. A A
b. 65 A
c. A 65
d. 65 65
e. Error
Reveal Answer
12. What is the output of the following program? #include<stdio.h> int main() { int i = 5, j; j=++i + ++i + ++i; printf("%d %d", i , j); }
Options:
a. 8 22
b. 7 19
c. 6 24
d. 7 24
Reveal Answer
13. What is the output of the following program? #include<stdio.h> main() { int a , b; a=-3- -3; b=-3 - -(-3); printf("a=%d b=%d", a , b); }
Options:
a. a = 0, b = -6
b. a = -6 b = 0
c. a = 0 b = 0
d. a = -6 b = -6
e. Compilation Error
Reveal Answer
14. What is the output of the Following program? #include<stdio.h> int main() { int a=2,b=7,c=10; c = a == b; printf("%d", c); return 0; }
Options:
a. Compilation Error
b. 1
c. 0
d. false
Reveal Answer
15. What is the output of the following program? #include<stdio.h> int main() { int x,n; n=7^8; x=3 * 84 - n; printf("X=%d", x); }
Options:
a. 237
b. 252
c. 289
d. 217
Reveal Answer
16. An expression that combines two or more relational expression is known as______
Options:
a. Boolean expression
b. Arithmetic expression
c. Logical expression
d. Relational expression
Reveal Answer
17. Conversion of algebraic expression into C expression is 3x2 + 2x/y + 1 ==== 3*x*x + 2*x/y + 1
Options:
a. True
b. False
Reveal Answer
18. Which of the following is the correct order of evaluation for the below expression? z = x + y * z / 4 % 2 - 1
Options:
a. * / % + - =
b. = * / % + -
c. / * % - + =
d. % * / - + =
Reveal Answer
19. In an expression b=10; a=b=5, what is the value of a.
Options:
a. 5
b. 10
c. 1
d. 0
Reveal Answer
20. The operand of ___type is automatically converted to the _____ type before evaluation of expression.
Options:
a. Lower, Higher
b. Higher, Lower
c. Compilation error
Reveal Answer
Packages
Gold Membership
Microsoft Azure Suite &Suite Plus
Azure DevOps Expert &Expert Plus
MS.NET Foundation For Beginners
MS.NET Full Stack Developer
UI / Web Development
SQL Server & MSBI Tools
Software Testing
Resources
Blog
Deccansoft
AzureA2Z
Wall of Fame
On-Job Tech Support
About
About BestDotNetTraining
About Trainer
Testimonials
FAQ
Other links
About Us
Contact Us
Leave us a feedback
Sitemap
Privacy Policy
Terms & Conditions
Proudly Powered by