please try this code
#include<stdio.h>
#include<conio.h>
main()
{
int a,b;
printf("\nEnter the values of a and b:\n");
scanf("%d%d",&a,&b);
Type: Posts; User: raghu_equinox
please try this code
#include<stdio.h>
#include<conio.h>
main()
{
int a,b;
printf("\nEnter the values of a and b:\n");
scanf("%d%d",&a,&b);
no..i dont think its a coincidence ..i changed the values of a,b,c but still the output is the same...ie printing a b c in reverse order....
oo..this is great...if ur using windows just tupe color 0A in the console and then run ur programs ...i dont know why ur bothered abuot the color so much
accidentally i wrote this code and got some output but why like this....
main()
{
int a=1,b=2,c=3;
printf("%d%d%d");
}
hi .i was just trying to know what i observer with this code...
#include<stdio.h>
#include<conio.h>
void main()
{
int a[10],i;
clrscr();
for(i=0;i<10;i++)
please tell me how to create own header files.Can someone tell me with a small example
when i push an item in to stack 1 i get the contents of the stack as item-0-0 etc....
but when i pop the element my top and bottom(top,bot) of the stack are moving but i am unable to display the...
i want to implement multiple stacks using arrays..I am able to create ,insert and print them but not poping an element form any of the stack..This is what i have
#include<stdio.h>...
i want to print my list in the reverse..ie..the last item first and first one last..
i am new to this ..i have created the list and printed it but couldnt do that in reverse order ..please help
...
i want to add a new item to end of linked list..my function addlast will do this
this is my code
#include<stdio.h>
#include<conio.h>
#include<alloc.h>
#define NULL 0
thanks
Great Please Help Me With My Code
i want to remove the last item of the linked list..my 'rmlast' function does this
but i couldnt do that please help
#include<stdio.h>
#include<conio.h>
#include<malloc.h>
#define NULL 0
...
hi
I was doing a program for inserting a item in to the linked list..i have to insert the item before the fist one..something is wrong with my ins_first() function
just help me out
void...
ya..there is a way..
just decalre a variable of type char and use scanf to read it..i think it will work..u can also do with int
YES your r right.Actually ,i am not working on my system now.So my program is not with me now.Sorry..
THANKS FOR REPLYING...SORRY AGAIN.. i will post my program 2maro
hello friends...
I require a C program for implementation of queues using arrays..
My code is unable to do all the functions ie..INSERT,DELETE,EMPTY ..
Please some help me ..