1,631 views

4 Answers

Best answer
7 7 votes

Here we don't even need to remember the ASCII codes

For A: ASCII of A = x

For B: ASCII of B = x+1

:

For Z: ASCII of Z = x+25

Hence z-a = x+25 - x = 25 

• selected by
0 0 votes
Here value is print by ascii code  conversion . let suppose a=1 and z=26 because total number of character present is 26 a is 1st and z is 26th character of alphabhat

so z-a= 26-1=25

so 25 will be printed
Answer:
Position:
Show:

Related questions

2 2 votes
5 answers 5 answers
3.1k
3.1k views
Arjun asked Oct 18, 2016
3,135 views
The value returned by the following code is _____int foo() { int a[] = { 10, 20, 30, 40, 50, 60 }; int *p = &a , *q = &a[5] ; return q-p; }
13 13 votes
1 answers 1 answer
3.6k
3.6k views
Arjun asked Oct 18, 2016
3,561 views
#include <stdio.h int foo(int a[100]) { return sizeof(a); } int main() { int a[10]; printf("%d", foo(a)); }What will be the output of the above code ignoring any compiler...
4 4 votes
2 answers 2 answers
2.4k
2.4k views
Arjun asked Oct 18, 2016
2,397 views
No. of times '*' will be printed by the following C code is _____#include<stdio.h void foo(int x) { switch(x){ case 1: printf("*"); case 2: printf("*"); case 3: printf("*...
7 7 votes
4 answers 4 answers
3.6k
3.6k views
Arjun asked Oct 18, 2016
3,616 views
The output of the following C program will be _____#include<stdio.h #define type int type foo(type b) { return b*b; } #undef type #define type float int main() { float a ...