In this video lets see how we can make use of Macros and ternary / conditional operator to find biggest of three numbers.
What we learn in this video tutorial? We learn how to make use of nested ternary / conditional operator in macro definition. And how to use macro continuation( \ ) preprocessor operator.
http://technotip.com/6647/triangle-valid-or-not-based-on-angles-c-program/
Three angles of a Triangle are entered through the keyboard, write a C program to check whether the Triangle is valid or not. The Triangle is valid if the sum of all the angles is exactly equal to 180.
C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=io01X2kB66Q
http://technotip.com/6354/even-or-odd-number-without-using-modular-division-c-program/
lets write a C program to check whether a user entered integer number is EVEN or ODD, without using modular division(%) operator
An even number is an integer that is exactly divisible by 2. An odd number is an integer that is not exactly divisible by 2
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=qc-wK_amMzs
https://technotip.com/8662/c-program-to-print-multiplication-table-using-macros/
In this video lets see how we can print multiplication table(from 1 to 10) for any positive user input value, using Macros.
C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=1IaEnPHRalw
https://technotip.com/8575/conditional-compilation-in-c-ifdef-else-endif/
In this video tutorial lets learn about preprocessor command or directives like #ifdef, #else and #endif. These directives are used for conditional compilation.
When To Use #ifdef
1. When we want the compiler to skip certain part of the source code: For this we could even use multi-line comment, but if we already had multi-line comments in the code, we can’t enclose the source code and multi-line comments with another multi-line comment. Nesting of multi-line comments are not allowed in C programming language. So instead of commenting the code we could make use of #ifdef directive.
2. To write portable code: For example, we could write code both for iOS and non-iOS devices. Using #ifdef we could check the device OS and based on that deliver specific set of codes. For this we can use #ifdef
C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=J0nWQRqb3Fc
http://technotip.com/3637/tel-input-type-html5/
Lets look at tel Input Type of HTML5 forms.
Only advantages, as for now, with tel type input fields are:
1. Screen readers pickup these tel type input fields and hint the visually challenged people that they need to enter their telephone number in the input field.
2. Mobile device browsers which are optimized to work for HTML5, will show up a customized keyboard to the user to enter telephone number rather than the regular text based keyboard.
HTML5 and CSS3 Video Tutorial List:
http://technotip.com/3451/html5-css3-video-tutorial-list/
...
https://www.youtube.com/watch?v=AcnNuyqLY44
http://technotip.com/2271/fetch-json-data-using-jquery-ajax-method-getjson/
Video tutorial illustrates fetching of JSON data using jQuery AJAX method, getJSON
jQuery Video Tutorial List:
http://technotip.com/2514/jquery-tutorial-list/
...
https://www.youtube.com/watch?v=pe6keTE9LbE
http://technotip.com/1238/biggest-of-3-numbers-cpp/
If value of variable a is bigger, then we store it inside the variable big; else we compare b with c. Now will store the biggest number inside the variable big.
...
https://www.youtube.com/watch?v=YRkCpS_GMFw
http://technotip.com/2256/objects-arrays-json-using-jquery/
Video tutorial illustrates the basics of JSON: Create Object, Arrays, Access Elements, Modify/Update the value etc.
jQuery Video Tutorial List:
http://technotip.com/2514/jquery-tutorial-list/
...
https://www.youtube.com/watch?v=MK39DQabaW8
Help us in the good cause of imparting education to people. By paying a small fee and taking the channels membership you'll be indirectly involved in helping people in their learning. Education should be a fundamental right to everyone - and you're supporting it by helping us in this cause.
Important Links
Blog: https://technotip.com
Join: https://www.youtube.com/channel/UCFUKESqogHax2af9lmhICZQ/join
Twitter: https://twitter.com/technotip/
Instagram: https://www.instagram.com/technotip/
My YouTube Channel:
https://www.youtube.com/user/technotipDOTorg
My other channel: https://www.youtube.com/channel/UCrm3N6bvmnrERkyQD1Duy-g
About Me: https://technotip.com/about/
...
https://www.youtube.com/watch?v=fOoY84g-b-o