CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Tanushreeagr

Search: Search took 0.01 seconds.

  1. How i can view all my older threads...please help

    How i can view all my older threads...please help
  2. Replies
    7
    Views
    2,080

    Reversing the digits

    //PROGRAM TO REVERSE THE 5 DIGIT NUMBER
    #include <stdio.h>
    void main()
    {

    int num, i = 0;

    char rev[5];

    printf("Enter any 5 digit number\n");
  3. Replies
    1
    Views
    1,501

    Proxy Server

    What's the difference between Proxy server and ordinary server?
    and Difference between Proxy server and firewall?

    What i have to say and how i can clarify , through interview point? PLS HELP.
    ...
  4. Replies
    1
    Views
    1,051

    Proxy Server

    What's the difference between Proxy server and ordinary server?
    and Difference between Proxy server and firewall?

    What i have to say and how i can clarify , through interview point? PLS HELP.
    ...
  5. Thread: For loop

    by Tanushreeagr
    Replies
    1
    Views
    841

    For loop

    void main()
    {
    int i;
    for(i = 0; i <= 10; ++i);
    printf("%d ", i);
    }
    In the above program , we are pre-incrementing i, even though the output is 1-10 , which is the case for post...
  6. Replies
    6
    Views
    951

    Re: Reference to a pointer

    #include <stdio.h>

    void main()
    {
    int x = 10 ;

    3 = x;

    }
  7. Replies
    6
    Views
    951

    Re: Reference to a pointer

    How to create a new thread , PLEASE HELP ME!!!
  8. Replies
    2
    Views
    641

    REVERSE_of_STRING...

    I keep getting segfaults when trying to run the code below. It seems Runtime error due to the line the *end = *begin; . Why is that?


    #include <stdio.h>
    #include <string.h>

    void...
  9. Thread: C_program

    by Tanushreeagr
    Replies
    2
    Views
    611

    C_program

    What does space in scanf() exactly mean????


    what's the difference between these two:

    scanf("%d ", &num);

    and

    scanf("%d", &num);
  10. Replies
    2
    Views
    535

    pls Help...

    include <stdio.h>

    void abc(struct sss );


    void main()
    {
    struct sss
    {
    int i;
  11. Thread: C_program

    by Tanushreeagr
    Replies
    2
    Views
    650

    C_program

    #include<stdio.h>

    void main()
    {

    char a = 'AB';

    printf("%c", a);
    }
  12. Re: member function of one class can be friend function of another class

    I have added necessary code.
  13. member function of one class can be friend function of another class

    How to make a member function of one class , the friend function of another class:


    class car
    {
    private:
    int speed;

    char color[20];
  14. which is latest version visual c++ or dev c++

    which is latest version visual c++ or dev c++ and which we have to use , recently for giving interviews at IT Co's. THANKS.
  15. Replies
    9
    Views
    1,047

    character array please Help!!!

    void main()
    {

    char name[20];

    name = "omshanti";

    cout << name;

    }
  16. Thread: realloc()

    by Tanushreeagr
    Replies
    3
    Views
    564

    realloc()

    {
    int*ptr = (int*)malloc(10*sizeof(int));

    ptr = realloc(ptr, 20*sizeof(int));

    }

    As realloc function is used to dynamically reallocate the memory and ptr is a pointer which points the...
  17. Replies
    4
    Views
    685

    Function pointer

    What are Function pointers , what are the benefits of using it?

    Thanks..
  18. Replies
    3
    Views
    481

    Returning by reference from function

    struct emp
    {
    char name[20];
    int age;

    float sal;
    }e1 = {"hello", 24, 2345.67}, e2 = {"hi", 34, 45678.89};


    void main()
  19. Replies
    6
    Views
    951

    Re: Reference to a pointer

    ok Thanks...
  20. Replies
    6
    Views
    951

    Reference to a pointer

    I am unable to get "reference to a pointer".
    Here:

    char*p = "hello";
    char*&k = p;


    while creating reference to a pointer why we have to write *&k , why not &*k?
  21. Replies
    8
    Views
    1,650

    Re: Malloc() function Plzzz Help

    int main()
    {
    int* ptr;
    int n, i;

    printf("How many numbers you want to enter: -");

    scanf("&#37;d", &n);

    if((ptr = (int*)malloc(n * sizeof(int))) == 0)/// if we skip this statement??
  22. Replies
    8
    Views
    1,650

    Re: Const Pointer Plzzzz HELP

    Thx , now i got it.... I am unable to What is the use of Function Pointers in C and C++language?.
  23. Replies
    8
    Views
    1,650

    Re: Const Pointer Plzzzz HELP

    But. if we write:

    void main()
    {
    int x = 10;

    const int*ptr = &x;

    x = 12;
  24. Replies
    8
    Views
    1,650

    Const Pointer Plzzzz HELP

    I am unable to get this:

    as we say int const*ptr; means ptr is a pointer to an const int.

    In a example:

    int x = 10;
    int const*ptr = &x;

    //Here *ptr = 12// will give error...
  25. Replies
    15
    Views
    42,091

    Re: const pointers and pointer to const

    I am unable to get this:

    as we say int const*ptr; means ptr is a pointer to an const int.

    In a example:

    int x = 10;
    int const*ptr = &x;

    //Here *ptr = 12// will give error...
Results 1 to 25 of 25





Click Here to Expand Forum to Full Width

Featured