15,551 Topics
| |
CONSIDER THE FOLLOWING CODE: int *p[]; // THIS IS ARRAY OF POINTERS int (*p)[] // THIS IS POINTER TO ARRAY. CAN SOMEONE EXPLAIN ME SOME MORE ABOUT THESE TWO STATEMENTS | |
LOOK THE FOLLOWING CODE: void main() { char a[]={'a','b','c',d'}; int b[]={1,2,3,4,5}; printf("%d %d",&a[3]-a,&b[3]-b}; } OUTPUT: 3 3 CAN SOMEBODY EXPLAIN ME WHY THE OUTPUT IS SAME. ACCORDING TO ME OUTPUT IS (3 6). | |
Hello,all! Can someone help me Write a batch file that takes 4 arguments and passes them onto your C program. The C program takes each of the arguments and multiplies that argument by 10. Example of how this is done: Z:>SAD1.BAT 3 5 7 8 What will be displayed on … | |
Hi Junior Techie, thanks lot for your help. As per your advice i get lot of things.It is out of my expectation.I hope that in future you again help me. Thanking you...... Rishi | |
Can I get a list of C programmes so that I can see the solution of any program I want. Any website related to it? I have an interview next month on C.Please suggest. | |
Hi everybody, I am quite familier in C.But i don't any thing about printer port programming.Can you help me......? thanking you... rishi | |
i need to pass up an operating systems project on the 19th of july. can anyone please help me do this project. i cant manage it by myself :rolleyes: . this is the question: Develop a program to simulate a computer using a Round-Robin scheduling algorithm with a time slice … | |
hi everyone, I need help on a single document interface (sdi) i have created. I created the sdi using the CRichEditView as its base class. I know that the printing functionality is already added by default but what i need is that when the program is executed by me a … | |
Greeting to all, I have been trying to apply "fprintf()","fopen()" and "fclose()" into the following source code but still fail to get the right way. As I do not have any C program book to refer to, I really appreciate it if someone could show me how should I go … | |
Hi guys, I'm new in programming and I just started to learn C language. I got this assignment question that requires me to use random number generation. I know how to create a simple random number generation using seed. But this question is giving me a headache. Please spare me … | |
Hi! I would like to ask on the "find" function. I do not know how to use it. Thanks a bunch! | |
[FONT=Comic Sans MS][COLOR=Red][COLOR=Red]hey dude, I need help regarding my project. Its about creating a program of a vending machine. It said i must include these in the vending machine system menu a) Replenish the system b) Buy Drinks c) Transaction Report d) Quit >> Enter Choice : X I wish … | |
Please , help me to Write a program in a new eclipse project called piglatin that converts a string to its Piglatin equivalent . the string begins with a vowel, add "way" to the string. For example, Piglatin for "orange" is "orangeway". 2. Otherwise, find the first occurrence of a … | |
Hey everyone. im having issues with my for loop: basically it reads in from a file using unix redirection and stores the integers into an array, that all works fine, but i need to return the number of integers that were read in, and logically i thought [COLOR=Red]this[/COLOR] would work, … | |
I have an Edit Box on a form. The text entered in it is stored as an AnsiString. I must pass the input AnsiString data to a function that requires a const char* as a parameter. How can I pass the AnsiString as a const char*? I would appreciate any … | |
Im accepting a float from the user. I want to protect from him inputing a char cos it messes everything up. How do i do this? | |
Hello, i have a rather strange request, I'm looking for someone who can produce a program that hooks into windows's input chain for a game I play and blocks the mouse up event message. Basically I need for the left mouse button to be continually pressed in whichever way is … | |
hi I have problem with file. The problem is I have to compare two file 1)master file and 2)transaction file. both have accno, amount,id and code(d-deposit,w-withdraw). the accno is in char[10] ,amount double, id integer and code character[1]. my problem is how to compare accno from master file with accno … | |
How can i write the coding for a reversive of a given integers. for example: char str[] = "012345"; Reverse( str ); printf( str ); then the output will be displayed as [B]"543210" [/B] i need pointer as well to null-terminate string as a parameter and reverses this string. then, … | |
i'm having a problem with below recursive code. there are 4 chars stored in a array, 'a', 'b', 'c', 'd'. input is between 1 and 16, and output should look like this: when input is 1: a b c d when iput is 2: aa ab ac ad ba bb … | |
Hi. can anyone tell me where to find a good tutorial for modem and i/o port programming? | |
I want to have a class LIST -- a dinamic list of rational numbers (defined previously in my RATIONAL class). I want another class STACK to inherit LIST's root and end pointers for my list.(STACK also is dinamical) Please help because it says that STACK cannot access the root and … | |
hi everybody i have a homework to write a program which displays leapyear it is for tmorrow pls anybody send it for me thanks in advance | |
weight fast-post normal courier <500g RM0.80 RM0.45 RM0.65 500-999g RM1.20 RM1.00 RM1.10 1kg-4.999kg RM1.50 RM1.35 RM1.60 >=5kg RM2.75 RM2.00 RM2.65 "Base on the cost of postage above,we have to write a c program for the mailing pakage. here i have some problem about the codding of c programming.i'm a computing … | |
hi, This is the code to be changed to conditional operators: #include <stdio.h> main() { int x, min, max; printf("Enter val for max and x\n"); scanf("\n%d%d",&max,&x); if(x>max) min=max; else min=x; printf("%d\n",min); } the above code is runing but problem is when changed to conditional operators: #include <stdio.h> main() { int … | |
Is there a way to modify an exe file if you don't know what program the file was created in? I guess what I am asking is if there is a generic program to modify/change information within an exe program? Dennis | |
HI!everyone,any suggestion on problems when use the old address book system? | |
BEGIN +$#Using online Help To identify a tool or control: Position the pointer over a tool or control and pause. A tool tip appears showing the name and keyboard shortcut (if any) for the item. If tool tips don’t appear, the preference for displaying them may be turned off. See … | |
[COLOR=DarkGreen][SIZE=6][B]POINTER[/B][/SIZE][/COLOR] [COLOR=DarkOrange][SIZE=3]INTERDUCTION::[/SIZE][/COLOR] [SIZE=2][COLOR=DarkOrange]Pointer is a variable that can hold address value. Pointer to integer is not type of integer A questain may arises to your mind that why Pointer variable is not declare like “pointer |
The End.