Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Given a passport size photo draw vertical and horizontal lines
and mark the intersection points(assume one for the photo and
zero for the background).Give the intersection points(1 or 0)
to program and print "." for input 1.



Given a passport size photo draw vertical and horizontal lines and mark the intersection points(as..

Answer / raveathul farzaana.m.y

#include<stdio.h>
#include<conio.h>
void main()
{
int p[50][50],rows,columns;
clrscr();
for(rows=1;rows<=50;rows++)
{
for(columns=1;columns<=50;columns++)
{
printf("\nEnter the value of row%d column%d:",rows,columns);
scanf("%d",&p[rows][columns]);
}}
for(rows=1;rows<=50;rows++)
{
for(columns=1;columns<=50;columns++)
{
if(p[rows][columns]==1)
printf(".");
else
printf(" ");
}
printf("\n");
}
getch();
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

Explain how a TP Monitor manages memory and processor resources more effectively than a typical operating system.

1 Answers   Infosys,


Client server applications

0 Answers   TCS,


how to find out the name of the users who are currently working starting with the same characters in unix os

0 Answers  


What is the difference betweem scrum model,xp model and fdd model?

1 Answers  


hi i have selected for nda and could please send me the courses offered in nda regarding engineering and all other courses????

0 Answers  


please kindly send me the details about courses that are offered in nda

0 Answers  


what is need of interface. what is the diff b/w interface and abstract class

0 Answers  


Need help with technical writer interview asap.

0 Answers  


what is the command to copy the contents from one directory to other directory?

2 Answers  


the gravity variation on to the earth depends upon ......... what factors .. how they effect the all other parameters ........in case of body moving in up wards and as well as downwards.........

2 Answers  


why we need abstract class in java, what is the diff b/w abstract claas in c++ and abstract class in java

1 Answers  


i am satish i want to preapare for group-1 exams so please help me?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4456)
  • Electrical Engineering Interview Questions Electrical Engineering (16639)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)