Convert the following Java code to C programming. Pass ProjectNum and ProjectName as parameter values and call printHeading from main method.
public class printHeading
{
// Main method
public static void main(String[] args)
{
{
printHeading(1, "Conversion"); // this statement calls the printHeading method
}
}
private static void printHeading(int ProjectNum, String ProjectName){
String name = "John Smith";
System.out.println(name);
System.out.println("class ");
System.out.println("Project: " + ProjectNum);
System.out.println(ProjectName);
System.out.println();
}
}