1)what is output for the following program.
#include<stdio.h>
main()
{
int *p,*q,i;
p=(int *)100;
q=(int *)200;
i=q-p;
printf("%d",i);
}
a)100 b)25 c)0 d)compile error

Answer Posted / pritesh

25 In cfree(4 BITS FOR INT)
50 in TC(2 BITS FOR INT)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

am looking for ms,i got ielts score 5.5,and i dont have english score 60 in any any year.tell me can i get offer lettr from any university.is i am elegible..?

1741


i want a program in c# for 100 or for a number greater than 100.....pls help

1456


Define function ? Explain arguments in functions ?

1528


how can we implement the raid techmology on linux. operating system

1543


what is program data insulation in dbms?

1916






searching a B-tree indexed tree compared to B+ tree is slow..True or false

1854


could u please tell me where the click view tool coaching in hyderabad

1409


Explain the following program segment. f(){ int *b; *b=2; }

1929


differance between radix sort and radix exchange sort

2848


how to find out the name of the users who are currently working starting with the same characters in unix os

1471


what are the various technique used for inter process communication?

1639


How to calculte strengh of scaffoling(indian)

1616


what are the different types of database servers

1465


Write a program to input 10 elements in an array and seperate even and odd numbers, positive and negative between them ?

1378


what is debugging?

1483