ISRO CSE 2020 PYQ

Questions 61-65 of 80

0% completed (0/80 answered)
Your score 0/80 0 answered
Correct 0 Incorrect 0 Unanswered 80 Accuracy 0%

Question 61

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2020 PYQ

What is the output of the code given below?

C
#include <stdio.h>
int main()
{
    char name[]="satellites";
    int len;
    int size;
    len= strlen(name);
    size = sizeof(name);
    printf("%d",len*size);
    return 0;
}
Answers for question 61

Question 62

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2020 PYQ

What is output of the following 'C' code assuming it runs on a byte addressed little endian machine?

C
#include <stdio.h>
int main()
{
    int x;
    char *ptr;
    x=622,100,101;
    printf("%d",(*(char *)&x)*(x%3));
    return 0;
}
Answers for question 62

Question 63

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2020 PYQ

What is the output in a 32 bit machine with 32 bit compiler?

C
#include <stdio.h>
rer(int **ptr2, int **ptr1)
{
    int *ii;
    ii=*ptr2;
    *ptr2=*ptr1;
    *ptr1=ii;
    **ptr1*=**ptr2;
    **ptr2+=**ptr1;
}
void main(){
    int var1=5, var2=10;
    int *ptr1=&var1,*ptr2=&var2;
    rer(&ptr1,&ptr2);
    printf("%d %d",var2,var1);
}
Answers for question 63

Question 64

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2020 PYQ

Regression testing is primarily related to

Answers for question 64

Question 65

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2020 PYQ

Of the following sort algorithms, which has execution time that is least dependant on initial ordering of the input?

Answers for question 65
Scroll to Top