what is the difference between normal variables and pointer
variables..............

Answers were Sorted based on User's Feedback



what is the difference between normal variables and pointer variables................

Answer / naga raju

a pointer is nothing more than an address, and a pointer variable is just a variable that can store an address.

Is This Answer Correct ?    2 Yes 0 No

what is the difference between normal variables and pointer variables................

Answer / vrushali

Hi Vighnesh,

Please explain the term data security.....


Thanks

Is This Answer Correct ?    13 Yes 13 No

what is the difference between normal variables and pointer variables................

Answer / priyanka

It gives the value stored at a particular address

Is This Answer Correct ?    0 Yes 1 No

what is the difference between normal variables and pointer variables................

Answer / rafiya

Variable is a name given to the memory location of the specified data type.
Pointers are the variables which are capable of storing another variable's address.

Is This Answer Correct ?    0 Yes 1 No

what is the difference between normal variables and pointer variables................

Answer / nibedita

Pointers will store the variable address and normal variable
will store the variable value. But if you will declare int *p;
int i=10; and you want to accsess the memory of i you have
to write p=&i; But i can access directly the memory adress
of variable through printf("%d",&i); Then wht is the
difference between pointer and normal variable?

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Interview Questions

Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.

1 Answers   Amazon, CSJM, HCL, Microsoft, TCS, Wipro,


Explain the difference between structs and unions in c?

0 Answers  


Write a code to determine the total number of stops an elevator would take to serve N number of people.

0 Answers   Expedia,


What is the difference between the = symbol and == symbol?

0 Answers  


Differentiate call by value and call by reference?

0 Answers   Cyient,






my name is nani i completed my b-tech in hyd now i want go for interveiw but i dont know the process of software field interveiws plz help me anyone how many rouds there n what rounds plz plz plz help me n where i can get these details

2 Answers  


What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }

2 Answers  


what is const volatile?

2 Answers  


How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.

12 Answers   NetApp,


Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?

1 Answers  


how to use virual function in real time example

1 Answers   CTS, Wipro,


3.write a simple program that will output your name,phone number,e-mail address,and academic major on separate lines 1.create an account and a personal directory for your work b.find out how to create a subdirectory on your system.create one called info c.you will use a text editor to type in your programs and data files.some C systems have a built in text editor;others do not.Find out what text editor you will be using and how to access it.create a text file(not a program) containing your name ,address,and telephone number on separate lines.Next,write the brand of computer you are using and the name of the text editor.Then write a paragraph that describes your past experience with computers.save this file in your info directory. d. find out how to print a file on your system .print out and turn in the file you created in (c).

0 Answers   TCS,


Categories