what is the difference between normal variables and pointer
variables..............
Answer Posted / mani
Normal variable:memory size of variables depends upon respective datatype; if int it'll take 2byte , char will take 1 byte.
Pointer variable:memory size of pointer variable is constant that is 4byte in gcc compiler irrespective of any datatype.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
hi send me sample aptitude papers of cts?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Write a Program to find whether the given number or string is palindrome.
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
How many identifiers are there in c?
What do you know about the use of bit field?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
What is "Duff's Device"?
What the advantages of using Unions?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
what type of questions arrive in interview over c programming?
Do you have any idea how to compare array with pointer in c?
Why does everyone say not to use gets?
Explain what are run-time errors?
Write a C program to count the number of email on text