Hi ,
I know some information about that function pointer that we can use them more in callback functions.
Type: Posts; User: nkrao123@gmail.
Hi ,
I know some information about that function pointer that we can use them more in callback functions.
Hi Light/Grumpy,
Actually my thing is to verify that "howareyou" address is in code segment. Thats why if i know the code segment staring address and ending address. According that i can...
Hi Salem,
I goggled some material and understand the below things.
1. code segment ( mostly it is Read only . often it have readwrite also) ( can you let me know one small example for...
Hi Light,
#include<stdio.h>
int main
{
char *p="howareyou";
printtf ("%u\n",p);
return 0;
HI Thanks for your reply.
Just I want to know the code segment starting pointing address and ending pointing address. is there any way to find these address details?
I am going to execute the below program
#include<stdio.h>
int main
{
char *p="howareyou";
return 0;
}
Hi,
can any one give small example for the statement on callback as "A callback is often back on the level of the original caller" ?
I did not understand regarding that statement.
Thanks in...
Hi light,
you mean to say qsort and comparison function both are executables. so a callback is a reference to executable code(comparison function executable code), that is passed as an argument...
Thanks laserlight and whiteflags.
Whiteflags, u mean
int *fun(void) ---> function returns integer pointer?
int (*foo)(void) --> function returning a integer pointer to a function taking no...
Hi ,
i know how to write a syntax for function returning a integer pointer --> int *fun(int,int)
can any one suggest to how to write a syntax for function returning a integer pointer to a...
Hi ,
I have studies some material in google. But i confused by reading all those materials.
Actually any one can explain me the simple logic for Callback?
I know that callback means ...
I know that c++ supports function overriding . But we can do function overriding in c also?
I fell that its not possible in C. Can any one give your comments on this?
Thanks in advance.
Thanks for your reply's.
Means, the point what i read for unions as"memory can be allocated dynamically in structures,where as in union can not be alloacted dynamically" is wrong? from the URL C question : Difference...
i Got the my first thread statement from below URL
C question : Difference between structure and union.
I am not sure as it is correct point or wrong point above URL "4. memory can be...
HI ya, i compiled and i am getting the output as 12.300000.
Hi All,
recently i studied one document for difference between structure and union. I that they said, union did not support the dynamic memory allocation and structure should support dynamic...
Hi Juice,
i fell that '3' is treat as integer in sizeof('3'). wt you are expecting output -1 will get if you type cast that one. like sizeof( (char) ('3'));
Hi Juice,
i fell that '3' is treat as integer in sizeof('3'). wt you are expecting output -1 will get if you type cast that one. like sizeof( (char) ('3'));
Hi,
I am doing the below steps
1. I am created new folder and created below files and executed.
1. created extern.c file
//extern.c
#include<stdio.h>
I fell that it would be useful if you are god at mathematics. If you are good at mathematics you can analyze the problems or creating easy logic for given tasks easily. you can get that analysis power
Hi Laserlight,
From your earlier reply's, i understand that the usage of "extern". i can understand that main.c will compile about if we use "extern int i" in main file.
my doubt was fun() also...
Hi ,
I have one more small doubt,
i have ran the below program
//extern.c
int i;
Hi All,
Thanks for your explanations.
HI salem,
is it depend on compiler designs ? am i right?