Search:

Type: Posts; User: ankitsinghal_89

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    948

    Thanks a lot.I got it now.

    Thanks a lot.I got it now.
  2. Replies
    3
    Views
    948

    Help wih a string problem

    Guys

    Here is my code :-


    int main() {
    char *p = &"Hello";
    printf("%s",p);
    }
  3. Replies
    2
    Views
    1,792

    Segmentation fault

    Here is my code.

    While debugging i found out that a segmentation fault error while the third element 6 is added.


    #include <stdio.h>
    #include <stdlib.h>

    struct node {
    int data;
  4. Replies
    16
    Views
    11,576

    if sign extension depends on m/c to m/c or it...

    if sign extension depends on m/c to m/c or it depends on the data type and accordingly m/c takes the action??
  5. Replies
    16
    Views
    11,576

    Thanks,i understood it now. Can you guys...

    Thanks,i understood it now.

    Can you guys explain this also.

    If i do something like

    int i;
    char c;

    i = c;
  6. Replies
    16
    Views
    11,576

    Yeah that's wright. but when i write char c =...

    Yeah that's wright. but when i write char c = 234 shouldn't it print the character with ASCII value -22 (which is invalid) on my machine but it is printing the character right character.
  7. Replies
    16
    Views
    11,576

    But C also support extended ASCII character set....

    But C also support extended ASCII character set.

    It works when i write

    char c = 234;
    printf("%c",c);

    even when my machine takes above declaration of char as signed.
  8. Replies
    16
    Views
    11,576

    Signed/Unsigned Chars

    Here is one line from C programming language book:

    "Whether plain chars are signed or unsigned is machine-dependent, but printable characters are always positive."

    My doubt is first of all What...
  9. Replies
    13
    Views
    4,083

    Transition from Java to c++..

    Guys please help me out with this

    I know the basics of C language.Now i want to learn Java..But i want to ask that after learning Java is it difficult to learn C++.
  10. Replies
    10
    Views
    7,539

    Thx for the advice i have one more thing to ask...

    Thx for the advice
    i have one more thing to ask which is can java be learned without any difficulty without learning c++..
  11. Replies
    10
    Views
    7,539

    I have interest in graphical and game...

    I have interest in graphical and game programming....
  12. Replies
    10
    Views
    7,539

    C++ or Java

    I know basic C(not in deep,you can say simple basics) but now i want to learn C++ or Java.Firstly i want to know if i am taking a good step or not.
    Secondly,I want to master atleast one language.....
  13. Thx a lot guys..

    Thx a lot guys..
  14. 3 errors(L value and illegal use of pointer)

    #include<stdio.h>
    #include<conio.h>
    void main()
    {
    float x[20],fx[20],dd[20][20],z,value,k=1;
    int n,i,j;
    clrscr();
    printf("Enter the no. of interpolating points ");
    scanf("%d",&n);
    ...
  15. Replies
    9
    Views
    2,089

    thx to all.I have finally cracked it...

    thx to all.I have finally cracked it...
  16. Replies
    9
    Views
    2,089

    How to debug please help!!

    How to debug please help!!
  17. Replies
    9
    Views
    2,089

    After correcting the scanf problem it is still...

    After correcting the scanf problem it is still showing the error "Floating point error divide by 0"
  18. Replies
    9
    Views
    2,089

    Floating point error

    #include<stdio.h>
    #include<conio.h>
    void main()
    {
    float x[20],fx[20],p[20]={1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0};
    int i,n,j;
    float a,b;
    float z;
    ...
  19. Replies
    2
    Views
    2,697

    sscanf() help in c

    please help me with sscanf() function detailing with an example..

    Also try to help me with this program


    #include<stdio.h>
    void main()
    {
    char buffer[50];
    int no=97;
  20. Replies
    18
    Views
    11,000

    Thx for such quick help.I will definately go...

    Thx for such quick help.I will definately go through the program.

    Elysia,Thx for advice.I am seriously considering learning c++.I have learned C but i want to move ahead.But i am not able to...
  21. Replies
    18
    Views
    11,000

    Gaming in c

    I have learned basic c now.But i want to move further and i want to create simple games using C.But i am not getting an idea where and how to start.

    If you guys can create a program of a sample...
Results 1 to 21 of 23