NPTEL( 14 Sep - 06 Nov ) | Week 1 Programming Qs3 Programming in CPP 2020

 





W1_Programming-Qs 3:


Consider the following program and fill in the blanks at LINE-1 to define a function pointer type 
 Fun_Ptr such that it can be used to create a pointer to point add() function. At LINE-2 create 
function pointer fp to point to function add() such that it satisfies  the given test cases.

PROGRAM:

 typedef void (*Fun_Ptr)(int,int); // LINE-1

Fun_Ptr fp=&add; // LINE-2
FOLLOW OUR WEBSITE FROM THE BUTTON PROVIDED TO THE BOTTOM OF PAGE TO GET SOON ANSWERS OF PROGRAMS.
Disclaimer: Here you can find all nptel assignment solutions related to CS stream.These may help you for your assignment.The answers are only for verification.You cannot copy these directly from the post(code of conduct of NPTEL).These is not 100%  correct solutions.

2 comments:

  1. I need Programming in C++ Week-2 Programs solution Sir

    ReplyDelete
  2. WEEK 2 OF PROGRAMMING IN CPP HAS BEEN UPLOADED

    ReplyDelete

If you have any problems related to solutions or any concept please let me know.

Copyright (c) 2020 Custom Programs All Right Reserved

Pages