Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Programming Tutorial

Start Learning to Code

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Breaking News

Nextjs: running code after complete fetch

why does 400 status code result always entercatch block execution with axios?

Saving the state of the button onClick

TypeScript: Specify that value must be in Array using spread operator

Show separate number with comma in django tempalte

Why does my website keep showing old index.html, style.css, app.js…?

Using Python Flask to change the colour of an icon when it detects a words like scam, pending and verified

x clear icon appears only when the input has value – react

Login button redirects to two pages. For first time loginers, it redirects to agreement page, and for rest, it redirects straight to home?

WebComponent setter not triggered if defer is used

Tag: c-strings

Arrays

Why this c-program gives error when I initialize structure member outside the main function?

admin March 6, 2021

Why this c-program gives error when I initialize structure members (user.username and user.pin) outside the main function?, But everything becomes fine when I initialize it inside the main function. …

arrayscc-stringsinitializationstruct
Arrays

What is 1 dimensional string array?

admin April 22, 2020

1- What is 1 dimensional string array? 2- Is char *[] 2 dimensional ? 3- Is char *[] 1 dimensional string array? Thanks.

arrayscc-stringsmultidimensional-array
Arrays

Wrong assignment in string struct variable in C

admin January 22, 2020

Please help me with this code. Why same name is assigned to all the different structs? I’m noob to pointers and arrays in C. struct student { char *name; int reg_no; }; typedef struct student …

arrayscc-stringspointersstruct
Arrays

Understanding C-strings & string literals in C++

admin October 6, 2011

I have a few questions I would like to ask about string literals and C-strings. So if I have something like this: char cstr[] = “c-string”; As I understand it, the string literal is created in …

arrayscc-stringsstringstring-literals
Privacy Policy