void main(void);
typedef struct NType
{
int i;
char c;
long x;
} NewType;
void main(void)
{
NewType *c;
c=(NewType *)malloc(sizeof(NewType));
c->i=100;
c->c='C';
(*c).x=100L;
printf("(%d,%c,%4Ld)",c->i,c->c,c->x);
}
#include<stdio.h>
void main(void);
const int k=100;
void main(void)
{
int a[100];
int sum=0;
for(k=0;k<100;k++)
*(a+k)=k;
sum+=a[--k];
printf("%d",sum);
}
RAMCO PAPER.
Directions: Each of the following question has a question and twostatements
labelled as (i) and (ii). Use the data/information given
in (i) and (ii) to decide whether the data are sufficient to answerthe question
record your answer as
a) if you can get the answer from (1)alone but not from (2)
b) if you can get the answer from (2)alone but not from (1)
c) if can get the answer from (1)and (2)together ,although
neither statement by itself suffice
d) if statement (1)alone suffices and statement (2) alone also suffice.
e) if can't get the answer from statements (1) and (2) together
you need more data.
1)what will be the population of city X in 1991?
|
|