Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

tell me the output of this code

–2 votes
asked Oct 29, 2017 by Fizza Sajjad (300 points)
#include<stdio.h>

#include<conio.h>

void main()

{

int i,j,k,s,d;

clrscr();

                                for(i=1;i<=8;i++)

                                {

                                                printf("%d",i);

                                }

                                printf("\n");

                                for(j=2;j<=9;j++)

                                {

                                                printf("%d",j);

                                }

                                printf("\n");

                                for(k=3;k<=10;k++)

                                {

                                                printf("%d",k);

                                }

                                printf("\n");

                                for(l=4;l<=11;l++)

                                {

                                                printf("%d",l);

                                }

                                printf("\n");

                                for(m=5;m<=12;m++)

                                {

                                                printf("%d",d);

                                }

                                printf("\n");

getch();

}

2 Answers

0 votes
answered Oct 29, 2017 by Fizza Sajjad (300 points)

i was run this code on my dev c compiler so it was not given me a right answer so if any can run this code and then send me the output

commented Oct 30, 2017 by anonymous
12345678                                                                           
23456789                                                                           
345678910                                                                          
4567891011
0 votes
answered Oct 29, 2017 by Abd El Moneim Siddiq (140 points)

rgvjsjdfvhwsdcfbdszkjdcsalclh,bjswdfkw;;:lsdjjfmxnfpvnlsdfower voaksdj

 oairjxdfhodfihskdakshshdlalsdhskdkjhskdfksapsdhjapwfcmpaoiixpoasocj

lerfsodfhsldfowieyhfdkshfdoeaoshkosjdosrhfhwkcjfjsldfjwlfjlrpqwdkcas[d

rkpwqiedfajflasdrkaslwehfdncascva,man,lfjd[jqmdf.lpvs;dmcvslfg

svjflskdfkcxkdshfxjndf

flsvvlosdf

vnslf

svnslvnlsdfnsvnlsdnvkjsndlvksdiuhflsancsaldv

s

sldfhsodfhjkdhgslsdjcfkljfiowjef'skdf'saaaaadkffgdfp[ngfkvhefhkcs;dcm[aqdjkfpgorldjbasldfgdfjnngvjwifudxalscl;ldcvkkldcvl.ixociofmc xcs/s']d[fkwr,twe;rjxiocvjm ,o;sl/enmxcmngckbnosdxsvmlxcnvvnslknvdklwjhf\qdfnhlqwdpclf,cwfcfheggjwergvnoijgfoierjfls;lafn;vldfj;nac;oisdfsalae,refh;sodyfdhfowv no;ifeh;osdlfkjw;eoif;vlfw

wvas;df

fa'sdf

auwefasdf

WFEA;DF

WDFOASD;J'VNadf'd

te

commented Oct 30, 2017 by Fizza Sajjad (300 points)
thanx frnds iam very happy bcz the output is correct and you were solved my problem from fiya khan
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...