how does c function knows which function has made a call to it..
Is there a way??
just curious to know..
thanks
Type: Posts; User: kjayasekhar
how does c function knows which function has made a call to it..
Is there a way??
just curious to know..
thanks
Hello,
I have been doing for the past 2 years some C programming and basically into system side. Now recently started learning C++ and want to do a simple project in it (just for practise).
I...
Do like this: U will understand the problem.
Enter first no: Enter any thing here (let 2)
Enter second no: Y /* Enter 'Y' Here*/
2 * 0 = 0
Try Again? Y/N
Enter First No. :
hello,
I my program I wanted to use bitfileds. each member in the structure has to take 2 bits and I wanted use 16 such members. Since every member requires 2 bits I tried to do like this:
...
How to write a licencng program.
Let us say if I want to sell a product to a perticular customer and wants that product shud be expired after a month.
how I can do this.
If program checks local...
Infact u can reduce the no of iterations of for loop:
#include<math.h>
int j;
j = log10(target)/log10(2); /*gives no of bits required to store target*/
for(i=(j-1);i--;){
if(target & (1 <<...
I thought its better to post my doubt in this thread rather than going for another...well,,,
U do one-way encryption or whatever to store the expiry date.
And what i understood is ultimately this...
thanks for ur reply...
here what i want to know is
whether "argc" and "argv" are keywords...or I can use any names....
I got this doubt just now and I dont have C compiler to test it.
thanx
Hi,
every where I see
int main(int argc, char *argv[])
I guess its just like %3d, %4d...we write for decimals...
#define PH_NO_LENGTH
int main()
{
char *ph_no;
char responce;
printf("Do u want to know ur ph no: "Y" or "N" ");
scanf("%c", &responce);
if(responce == 'Y' || responce...
chars once it is incremented..must be reset back to 1..to get the expected output...
do it and run...
How u write Hello world program without using semicolons (;) in ur program....
Hello i wanted u to write in C... I mean C compiler has to accept ur code.....