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
Pointers
Interview Questions and Answer
1. Which operator is used to represent the address of a variable?
Options:
a. &
b. *
c. %
d. ^
Reveal Answer
2. Which operator is used to represent the value at address?
Options:
a. &
b. *
c. <<
d. >>
Reveal Answer
3. #include<stdio.h> int main() { int i=10; printf("\n i=%u",&i); printf("\n i=%d",i); printf("\n i=%d",*(&i)); } What will be the output of the Above program?
Options:
a. i=6487628 i=10 i=10
b. 10,10,address
c. 0,10,10
d. Garbagevlaue,10,10
Reveal Answer
4. Is it is possible to point the char and float pointer variable to char and float type?
Options:
a. True
b. False
Reveal Answer
5. Pointer is an example of which of the following type?
Options:
a. Derived Type
b. Fundamental Type
c. User-Defined Type
d. None of the above
Reveal Answer
6. An float pointer
Options:
a. Points to the another floating pointer
b. Points to itself
c. Points to the address of an integer value
d. None of above
Reveal Answer
7. In the expression *ptr=&a, what does & signify?
Options:
a. Address of a
b. Address of ptr
c. Value of a
d. None of the above
Reveal Answer
8. Which of the following is a syntactically correct pointer declaration?
Options:
a. float *x;
b. float* x;
c. float * x;
d. All above are correct
Reveal Answer
9. If a1=&x and a2=&a1, what will be the output generated by the expression **a2?
Options:
a. Address of a2
b. Address of a1
c. Value of x
d. Address of x
Reveal Answer
10. If a1=2 and a2=&a1 then what does a2++ depict(consider the address value of a1 to be 3802)
Options:
a. 3
b. 3803
c. 3804
d. 3802
Reveal Answer
11. What will be the expression for obtaining the address of the ith element of an array A?
Options:
a. A[i]
b. &A[i]
c. *A[i]
d. A[&i]
Reveal Answer
12. What is the size of an integer & float pointer?
Options:
a. 2 & 4
b. 4 & 4
c. 2 & 2
d. 1 & 1
Reveal Answer
13. Pointer constant is the address of the memory locations.
Options:
a. True
b. False
Reveal Answer
14. Pointer variable are declared using the address of operator
Options:
a. True
b. False
Reveal Answer
15. It is impossible to cast a pointer to float as a pointer to integer.
Options:
a. True
b. False
Reveal Answer
16. An integer can be added to a pointer.
Options:
a. True
b. False
Reveal Answer
17. When an array is passed as argument to a function, an address of array is passed.
Options:
a. True
b. False
Reveal Answer
18. Pointers cannot be used as formal parameter in the header to function definitions.
Options:
a. True
b. False
Reveal Answer
19. What will be the output of the following program? int main() { int a =35, *m,*n; m=&a; //address of a is 1008 n=m; *m++=*n++; a++; printf("a=%d, m=%d, n=%d", a , m, n); return 0; }
Options:
a. a=36, m=1010, n = 1010
b. a=3, m=100, n = 1010
c. a=36, m=6487616, n=6487616
Reveal Answer
20. What is the output of the following program main() { int a=100,*b,**c,***d; b=&a; c=&b; d=&c; printf("%d %d %d %d", a,*b,**c,***d); }
Options:
a. 100 100 100 100
b. 100 101 100 100
c. 100 100 100 101
d. 100 100 102 101
Reveal Answer
21. What is the output: main() { float a=7.99999; float *b,*c; b=&a; c=b; printf("%d %d %d\n", &a, b, c); printf("%f %f %f %f\n", a, *(&a), *b, *c); }
Options:
a. 6487612 6487612 6487612
b. 7.999990 7.999990 7.999990 7.999990
c. 6487612 6487612 6487612 7.999990 7.999990 7.999990 7.999990
d. 6487612 6487612 6487612 7.999990 7.999990 7.999990 7.999990 6487612 6487612 6487612
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