C Programming and Technical

output?
Q. What is the difference between ordinary variable and pointer in C?

A. An ordinary variable is like a container it can hold any value and we can change the value of ordinary variable at a time throughout the program .A pointer is a variable that stores the address of another Variable.

Read Solution (Total 0)

C Other Question

output?
Q. What are the advantages of using Unions?

A. (i) Efficient use of memory as it it does not demand memory space for its all members rather it require memory space for its largest member only.
(ii) Same memory space can be interpreted differently for different members of the union.
output?
Q. What are segment and offset addresses?

A. When paging technique is performed, the page will breaks into segments and its sequence is said to be segments and its width can be said as offset. In short,segment is a physical address and offset is logical address