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
Console IO Operations
Interview Questions and Answer
1. ________ Header file is included in the program to perform console I/O operation?
Options:
a. stdio.h
b. std.h
Reveal Answer
2. Variable number of arguments can be passed to toprintf() library function?
Options:
a. True
b. False
Reveal Answer
3. Which data type defines ‘%s’ specifier?
Options:
a. unsigned long
b. long
c. char array
d. string
Reveal Answer
4. Which of the following is the invalid library function?
Options:
a. printf("10%d", 456);
b. printf("%10d", 456);
c. printf("%10.2d", 456.4);
d. printf("%d %d", 456, 454.4);
Reveal Answer
5. What will be the output of the following program #include<stdio.h> int main() { int n=123; printf("%d", -n); }
Options:
a. -123
b. 123
c. 0
d. none of above
Reveal Answer
6. What will be the output of printf("%06d", 9876);
Options:
a. 9876
b. 987600
c. 009876
d. 980076
Reveal Answer
7. What will be the output of the program
Options:
a. 98.78
b. 0098.77
c. 98.7754
d. 98.0077
Reveal Answer
8. What does ‘&’ symbol define in console I/O Function?
Options:
a. assign value to variable
b. logical operator
c. address of operator
d. none of above
Reveal Answer
9. Which of following is a valid statement?
Options:
a. scanf("%d, %f, %d" &a, &b, &c);
b. scanf("%d", "%d", "%d", &a, &b, &c);
c. scanf("%d %f %d", &a, &b, &c);
d. All of above
Reveal Answer
10. Which of following is a valid statement?
Options:
a. scanf("%d, %f, %d" &a, &b, &c);
b. scanf("%d", "%d", "%d", &a, &b, &c);
c. scanf("%d %f %d", &a, &b, &c);
d. All of above
Reveal Answer
11. Which of following is a valid statement?
Options:
a. scanf("%d, %f, %d" &a, &b, &c);
b. scanf("%d", "%d", "%d", &a, &b, &c);
c. scanf("%d %f %d", &a, &b, &c);
d. All of above
Reveal Answer
12. Which of the following defines the correct functionality of getchar()?
Options:
a. Assign character without pressing enter key
b. echo’s character instantly without pressing enter key
c. Write a single character after pressing enter key
d. Read a single character after pressing enter key
Reveal Answer
13. Which of the following defines the correct functionality of getch()?
Options:
a. read character instantly without displaying it
b. assign character instantly without pressing enter key
c. display character followed by enter key
d. Both A & B
Reveal Answer
14. The function of gets() is to read _______from the standard input and store it in char array.
Options:
a. The string of characters including new line character
b. The array of strings including new line character
c. The string of characters excluding new line character
d. The array of strings excluding new line character
Reveal Answer
15. What is the functionality of puts()?
Options:
a. Store the string of character to char array
b. Write the string of character on o/p screen
c. Read a single character
d. Read string of character
Reveal Answer
16. Statement 1: Gets function assign string to char array; Statement 2: Puts function receive array of string.
Options:
a. Statement 1 is True; Statement 2 is True;
b. Statement 1 is True; Statement 2 is False;
c. Statement 1 is False; Statement 2 is True;
d. Statement 1 is False; Statement 2 is False;
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