FREE : [ Study Material ] NDA/SSB Preparation : Check Now!!! | Latest: HR Interview Questions:CHECK | Like Us :

Sunday, 28 April 2013

C PROGRAM TO IMPLEMENT STACK USING ARRAY | Stack USING ARRAY

0 comments
PROGRAM by Ashish

#include<stdio.h>
#include<conio.h>
#define MAX 10
int stack[MAX];
int top=-1;
void push(int num);
void pop();
void traverse();
void main()
{
int num,ch,p=0;
clrscr();
do
{
printf("Enter 1 to Print STACK\n");
printf("ENTER 2 to PUSH ITEM\n");
printf("ENTER 3 to POP ELEMENT\n");
scanf("%d",&ch);
switch(ch)
{
case 1:
{
printf("\nElements in Stack are:-\t");
traverse();
break;
}
case 2:
{
printf("\nEnter the Element to be pushed");
scanf("%d",&num);
push(num);
break;
}
case 3:
{
printf("\nGoing to Perform POP OPERATION");
pop();
break;
}
}
printf("\nENTER 1 to Continue");
scanf("%d",&p);
}while(p==1);
getch();
}
void traverse()
{
int i;
if(top==-1)
{
printf("\nStack is EMPTY");
}
else
{
for(i=top;i>=0;i--)
{
printf("\n%d",stack[i]);
}
}
}
void push(int num)
{
if(top==MAX)
{
printf("\nOVERFLOW");
}
else
{
top=top+1;
stack[top]=num;
printf("\n Element added");
}
}
void pop()
{
int item;
if(top==-1)
{
printf("\nUnder FLow");
}
else
{
item=stack[top];
top=top-1;
printf("\Element poped is%d",item);
}
}


Output:-

Friday, 26 April 2013

piet.co.in - PIET PANIPAT OFFCAMPUS Placements | Offcampus Drives for Freshers

0 comments

Panipat Institute of Engineering Technology commonly known as PIET Panipat is run by Vidyapeeth Education Trust. The Institute is affiliated to Kurukshetra University, Kurukshetra.

This commonly is Famous for the Offcampus Drives it conducts every year. Many MNCs every year visit PIET Panipat for offcampus Drive like TCS, Accenture, NEC-HCL, HCL, IBM, FranConnect and many more.

It provide an opportunity to students to grab the JOB. A lot of students from all over India especially students of MDU & KU takes part in these Offcampus Drives.

So If your college is not so good and companies donot visit your campus then you can attend the Offcampus drives at PIET Panipat.


Location of PIET:-

It is situated at Samalkha, Panipat on National Highway No. 1 and is about 21 kms. from Panipat.

How to Know which Company visiting PIET:-
You can subscribe us or keep visiting our website regularly to know about offcampus Drives at PIET

Wednesday, 24 April 2013

C program to implement a Queue Implementation using array | QUEUE USING ARRAY

0 comments
//Program Coded by ASHISH

#include<stdio.h>
#include<conio.h>
#define MAX 50
int queue[MAX];
int FRONT=-1;
int REAR=-1;
void traverse();
void insert(int num);
void remov();
void main()
{
int ch,num,p;
clrscr();
do
{
printf("Press 1 to Print All elements of QUEUE\n");
printf("Press 2 to Insert Element in the Queue\n");
printf("Press 3 to Delete Element from the QUEUE\n");
scanf("%d",&ch);
switch(ch)
{
case 1:
{
traverse();
break;
}
case 2:
{
printf("Enter the Element to be inserted in queue\n");
scanf("%d",&num);
insert(num);
break;
}
case 3:
{
printf("Deleting Element from Queue--FIFO---\n");
remov();
break;
}
}
printf("\nDo you wanna Perform again 1 for yes\n");
scanf("%d",&p);
}while(p==1);
getch();
}
void traverse()
{
int i;
if(FRONT==-1&&REAR==-1)
{printf("\nQueue is Empty");}
else
{
printf("Queue is:-\n");
for(i=FRONT;i<=REAR;i++)
{
printf("\n%d",queue[i]);
}
}

}
void insert(int num)
{
if(FRONT==-1&&REAR==-1)
{
FRONT=0;
REAR=0;
queue[FRONT]=num;
}
else
{
REAR=REAR+1;
queue[REAR]=num;
}
printf("Element Inserted\n");
}
void remov()
{
if(FRONT==-1&&REAR==-1)
{printf("Queue is Empty\n");}
else if(FRONT==REAR)
{
FRONT=-1;
REAR=-1;
printf("Queue is Empty NOW!!!\n");
}
else
{
FRONT=FRONT+1;
}
}

Friday, 19 April 2013

ITM University Gurgaon | Address, Fee Details, Ranking 2013

1 comments
College Institute of Technology and Management, Gurgaon
Affiliated to ITM University
Address HUDA Sector 23-A Gurgaon - 122017.
Phone Number Tel : + 91 124 2365811
Fax & Email Fax : + 91 124 2367488 &  daulet@itmindia.edu
Website http://itmindia.edu
Courses Available B.E COMPUTER SCIENCE & ENGINEERING
B.E ELECTRONICS & COMMUNICATION ENGINEERING
B.E ELECTRONICS & INSTRUMENTATION ENGG
B.E CIVIL ENGINEERING
B.E INFORMATION TECHNOLOGY
B.E MECHANICAL ENGINEERING
Placement Click here to Check Placements
College View Click here for Campus Visit
Ranking Click here

List of List of private MBBS colleges in UP and their fee structure?

1 comments


Note:Also Please Check comments for answers.This answers are submitted by our readers & may not be completely Reliable. You may leave your answer by commenting. It will help in improving the answers.

List Best Medical colleges in Haryana | MBBS Colleges Address 2013

0 comments
Here is a List of Best Medical Colleges in Haryana

  1. Maharaja Agrasen institute of Med Res and Edu, Agroha
  2. Maharshi Markandeshwar institute of Medical science and Research,Ambala
  3. Pandit Bhagwat Dayal Sharma P.G institute of Medical Science,Rohtak

Maharaja Agrasen Medical College,
Agroha 125047 (Haryana)
Courses : MBBS Course (5 years 6 months)
Eligibility : Class XII with Physics, Chemistry and Biology (or equivalent)
Tel : 01669-251675
Fax : 01669-281176
Tel : (Resi) : 01669-281197


Maharishi Markandeshwar Institute of Medical Sciences & Research,
Maullana, Ambala - 133 203
Tel : 01731-274070, 275936
Fax : 01731-275793
E-mail : mmmcmullanan@yahoo.com

Pt. B.D. Sharma Post Graduate Institute of Medical Sciences
(formerly, Government Medical College),
Rohtak- 124001
Courses : MBBS (5 years 6 months)
Eligibility : Class XII with Physics, Chemistry and Biology (or equivalent)
Courses : Certificate in Radiography (1 Year)
Eligibility : Class XII with Physics, Chemistry and Biology
Courses : Diploma in Ophthalmic Assistance(2 Years)
Eligibility : Class XII with Physics, Chemistry and Biology
Website :www.pgims.org
 

Results

get our extension

Like Us on FB

    Freshers Jobs

    Donate

    DMCA Protected

    You are Visitor Number

    Interview Questions

    SSB Questions

      Authors
    Tinku Singh
    Hitesh Dhanda

    MrNaukri.com - Get Sarkari Jobs, Results, Off Campus Placement Updates © 2012. All Rights Reserved | Back To Top |

    © 2013 A Product of IBC Network