couldn't understand properly,i'm confused now,i guess it would be better if u plz explain me through my example about the way it has reached to the output..of 65480 65496 if the array begins at...
Type: Posts; User: galmca
couldn't understand properly,i'm confused now,i guess it would be better if u plz explain me through my example about the way it has reached to the output..of 65480 65496 if the array begins at...
i'm sorry....couldn't understand,,....badly need a help plz!!!!!!!
i'm not being able to understand the logic behind it's output?...that how did that come and what would be the ouptput if we just mention the name of the array and when we use & with the name of...
hi,...just wanted to know that how would the output of the following question is coming out to be..65480 and 65496....if it is given that the array begins at 65472.
hope some1 can help me in...
yeah i get it now..thanks alot for ur help!
isn't the *a means the value at zeroth address or the base adress,if it is then why is it taking th adress of the first byte and not the value and the same goes for **a?
not being able to...
i believe that int takes 2 bytes and not 4 bytes as u said.....so sizeof(arr) should not be 20 but should be 10 as there r 5 elements and each integer takes 2 bytes of memory in c.i hope i am right...
does that mean that sizeof(arr[0]) and sizeof(*arr) are the same thing?
i thought that *arr means that it would indicate the value at adress or the value at base address which is 12...and now it...
i've been stuck on this problem,i hope some1 would be able to help me out..here! by explaning about how did that particular outcome come? the output is coming out to be...1002 1002 1002 1 Any help...
hi
i just needed to know about the sizeof...?what does it do?and what is it for? i have this question that i hope some1 can explain to me about its output?the output is coming out to be: 10 2 ...
thanks alot...it helped alot..!....thank you my program is working fine now..and i can understand what's it all about...!
thx ..i could understand that part ,what u just explained,the things in which i'm having a doubts are...:
that,
1)why are we taking here sumdig(123),sumdig(12) and sumdig(1)..from where can i come...
thx....but i just wanna know that how would this program be giving the output of 6 12...?
i couldn't understand that,,i could come up with output as 12 but i couldn't understand how did that...
it is a very basic and simple problem,but i'm not able to solve it,i hope some1 can help me out in explaning it's output and the use of static keyword here.. ..the output of program is...6 12..i...
i have written the code for searching and insertion in a binary search tree...i understood most of the things in that but there are some doubts which i would be very grateful if u could make me...
so could u plz tell me what will the final code look like.?
coz in the main function i m having a problem,,,,how will i be showing my 3 functions of push ,pop and isempty....and how would i be...
#include<iostream.h>
#include<conio.h>
#define size 10
class stack
{
int stck;
int tos;
public:
stack();
void push(int x);
i'll be very thankful if u can help me out here ...i have to write a program in c language ...to REVERSE A LINKED LIST.i have tried it until the point where the reversal is not used coz i don't know...
i thought some 1 here would like to help me...?but i guess i was wrong....if i have come here and posted my code thats because i thought that by seeking help i would get some help...but i think salem...
i've written a code for insertion in a linked list for all the 3 cases that is ...at the end,in the beginning & in between.....when i run this code then it runs successfully for insertion at end and...
i m not able to understand here....what exactly do u want m,e to try?
could u plz make some necessary changes in my code....in order to make it run properly and what all i have been lacking...
this is a code for the binary search program in c language.now the program is not showing any error but when i run this program then the output is like:
enter the total numbers:6
enter the array...
#include <stdio.h>
#define SIZE 10
int main()
{
int a[ SIZE ];
int i,n,pass,hold;
printf("enter the number of elements in an array:");
scanf("%d",&n);
what's wrong with my code here?can any 1 plz tell me that?
whar the changes that i can make in my program in order to run it correctly??????with all the 3 choices..,..???