Plays in YouTube's player, loaded from youtube-nocookie.com when you press Play. Watch on YouTube

Learn · Introduction to programming in C

Lecture 19 of 55Week 2: Loop Constructs in C

continue example - Finding Pythagorean triples

Prof. Satyadev Nandakumar · IIT Kanpur

Credits and licence

From
Introduction to programming in C, IIT Kanpur (at NPTEL)
Licence
CC BY-NC-SA, as NPTEL states it. Non-commercial use only.
Attribution
NPTEL states: "Distributed under Creative Commons Attribution-ShareAlike / CC BY - NC - SA", beside a BY-NC-SA badge.
Who can watch
Tweens profiles and older. How courses are placed

All the lectures

  1. Introduction - The Process of Programming YouTube
  2. GCD Algorithm YouTube
  3. The Programming Cycle YouTube
  4. Tracing a simple program YouTube
  5. Variables YouTube
  6. Operators YouTube
  7. While Loops - I YouTube
  8. While Loop Example YouTube
  9. While Loop Example - GCD YouTube
  10. Longest Increasing Subsequence - I YouTube
  11. Longest Increasing Subsequence - 2 YouTube
  12. Longest Increasing Subsequence - 3 YouTube
  13. Do-while Loop YouTube
  14. A Matrix Problem - Nested Loops YouTube
  15. For Loops YouTube
  16. A matrix problem using nested for loops YouTube
  17. The break statement YouTube
  18. The continue statement YouTube
  19. continue example - Finding Pythagorean triples YouTube
  20. Data Types in C YouTube
  21. The ASCII code YouTube
  22. C operators and expressions - associativity YouTube
  23. Precedence of C operators YouTube
  24. Expression evaluation, comma operator YouTube
  25. Introduction to functions YouTube
  26. How functions are executed YouTube
  27. Some examples on functions - 1 YouTube
  28. Some examples on functions - 2 YouTube
  29. Arrays in C YouTube
  30. Initalizing Arrays YouTube
  31. Initializing character arrays YouTube
  32. Pointers in C YouTube
  33. Pointer arithmetic YouTube
  34. Functions with pointer arguments - swap YouTube
  35. Function to copy a subarray into another YouTube
  36. Programming using arrays and pointers YouTube
  37. sizeof operator - how pointer arithmetic works YouTube
  38. Returning pointers from functions YouTube
  39. Example for returning pointers from functions - returning the duplicate of a string YouTube
  40. Recursion - Linear Recursion YouTube
  41. Recursion - Linear Recursion - 2 YouTube
  42. Recursion - Two-way Recursion YouTube
  43. Multidimensional Arrays YouTube
  44. Multidimensional Arrays and Pointers YouTube
  45. Multidimensional Arrays and Pointers - 2 YouTube
  46. Multidimensional Arrays and Pointers - 3 YouTube
  47. File Handling YouTube
  48. Some other file-handling functions YouTube
  49. Structures in C - 1 YouTube
  50. Structures in C - 2 YouTube
  51. Singly Linked Lists YouTube
  52. Doubly Linked Lists - introduction YouTube
  53. Organizing code into multiple files - 1 YouTube
  54. Organizing code in multiple files - 2 YouTube
  55. Pre and post increment operators YouTube