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

Answer Posted / fatima javaid

"Pointer variable holds memory address or physical address
of any variable value means it indirectly points any
vaiable,we can perform all operations +,*,-,and / through
it but normal variable directly points vaiable value"

Is This Answer Correct ?    21 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a byte, what is the maximum decimal number that you can accommodate?

869


What is a volatile keyword in c?

883


regarding pointers concept

1795


When was c language developed?

904


What are the different types of control structures?

785


What is a memory leak? How to avoid it?

865


When should you not use a type cast?

879


What is class and object in c?

802


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2555


writ a program to compare using strcmp VIVA and viva with its output.

1758


What oops means?

740


What is meant by operator precedence?

873


Can we access the array using a pointer in c language?

791


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

1133


What is the size of enum in c?

826