Hi C Coders,
I have two query.
Q1)
I have two structures.
typedef struct _Object {
char objName[132];
int bit;
Type: Posts; User: u_peerless
Hi C Coders,
I have two query.
Q1)
I have two structures.
typedef struct _Object {
char objName[132];
int bit;
Hi,
I have a qs.
int my_func()
{
int r;
// Some statements
return r; <<<< Here crash happens
Hi anon, you are correct, I did not do all this checkings. My intention was to know this thing. I have come to know this.
Thanks all for your comments.
When I am using unintialized pointer, then it may have any value either NULL or arbitrary value, It can be seen if I do a printf statement on this unitialized pointer, then it will display some...
Hi C Cders,
I have a query in C Pointers.
I have written a simple strcpy program.
So from src to dest, it copies.
#include <stdio.h>
#include <conio.h>
void my_strcpy(char *dst, char *src)...
Thanks all for your reply. Finally I got the idea behind this.
ya that is the behavior of Virtual functions. But I want to know the internally how the vtable is being created to do like this. I know "this happens". But do not know "why happens". So I want to...
Hi C++ Coders,
Can you please help me regarding one thing.
For pure virtual function, what are the entries created in the virtual method table.
Say I have a program:
class base
{
public:...