Questions tagged [section]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

When we free a dynamically allocated memory, what happens to the pointer pointing at it?

After watching section on "Dynamically allocated memory" (from Week 4) several times, I still have a question unanswered. Consider the following code- // Allocates 4 bytes of memory on heap and ...
Vinz.R's user avatar
  • 39
0 votes
1 answer

Problem from Section lesson "Function" but I have the following error message

When I compiled my code for the Section video titled, "Functions" where we were to make and define the function valid_triangle, the following error code was printed: triangle.c:15:9: error: expected ...
rdp0821's user avatar
0 votes
1 answer

Should I Watch the Sections and Walkthroughs?

I am starting CS50x and am wondering whether I should watch the Sections and Walkthroughs. Thanks!
AndyG's user avatar
  • 3
0 votes
1 answer

Swap initialised in Bubble sort

I watched the Section video in week 3 which discussed Bubble sort. I also watched the lectures and the shorts on it. I understand how it works, except for one bit. I'm confused on the below image from ...
AU786's user avatar
  • 7
0 votes
1 answer

more comfortable sections

I'm doing cs50x, I've watched less comfortable section 1 and found it too basic for me. Then I found more comfortable section 1, completely different story, it filled many gaps in my knowledge which ...
user avatar