
AnswerBot
2y
Printing the address of a variable without using a pointer can be done by using the & operator.
Use the & operator before the variable name to print its address
Example: int num = 10; printf("%p", &num)...read more
Anonymous
2y
Var a= 10;
Varchar str="sir";
Anonymous
2y
Var "a"=10;
Varchar str="suryam";

PrepInsta
author
3y
#include int main(void) { //declaring the variables int x; float y; char z; printf("Address of x; %p\n",&x); printf("Address of y; %p\n",&y); printf("Address of z; %p\n",&z); return 0; }
Add answer anonymously...
Cognizant Intern interview questions & answers
An Intern was asked 10mo agoQ. Introduce yourself to us.
An Intern was asked Q. Explain hardware concepts.
An Intern was asked Q. What types of hard drives are used in computers?
Popular interview questions of Intern
An Intern was asked 10mo agoQ1. Introduce yourself to us.
An Intern was asked Q2. Explain hardware concepts.
An Intern was asked Q3. What types of hard drives are used in computers?
Top HR questions asked in Cognizant Intern
An Intern was asked Q1. Introduce yourself.
An Intern was asked Q2. Are you a team leader? If yes, please justify.
An Intern was asked Q3. Why do you want to join Cognizant?
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

