edited by
657 views

1 Answer

0 votes
0 votes
void is datatype which has size of 1 Byte like char, but void* is a pointer it is called as raw pointer. normally in c size of integer pointer is 2 byte but it depends upon the machine architecture. (i.e on 64 bit system it will be 8 Byte)
edited by

Related questions

1 votes
1 votes
1 answer
3
Robin Hoque asked Aug 18, 2017
737 views
What is the output of following program#include<stdio.h>int main(){ short int i=20; char c=97; printf("%d,%d,%d\n",sizeof(i),sizeof(c),sizeof(c+i)); return 0;...
0 votes
0 votes
1 answer
4
Harikesh Kumar asked Jun 3, 2017
6,392 views
If the address of A and A are 1000 and 1010 respectively and each element occupies 2 byte then the array has been stored in which order ?1.row major 2.column major 3....